From c7a65f0df2f51bdae93ade0e8b36ba89a738f2e2 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 15 Jun 2013 23:16:39 -0400 Subject: [PATCH] Replace deprecated -compositeToPoint:operation: call. --- Source/BSSplitView.m | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Source/BSSplitView.m b/Source/BSSplitView.m index 7549787..92a195f 100644 --- a/Source/BSSplitView.m +++ b/Source/BSSplitView.m @@ -42,8 +42,11 @@ NSImage* dimple = [NSImage imageNamed:@"dimple.png"]; NSSize dmpSize = [dimple size]; NSPoint origin = NSMakePoint(NSMidX(rect) - (dmpSize.width / 2), - NSMidY(rect) + (dmpSize.height / 2)); - [dimple compositeToPoint:origin operation:NSCompositeSourceOver]; + NSMidY(rect) - (dmpSize.height / 2)); + [dimple drawAtPoint:origin + fromRect:NSZeroRect + operation:NSCompositeSourceOver + fraction:1.0]; } /** -- 2.43.5