From e7502a90d7f5ff4a33c73d54ea81a4e539d0e3ce Mon Sep 17 00:00:00 2001 From: Bibiko Date: Wed, 30 Jun 2010 10:14:53 +0000 Subject: =?UTF-8?q?=E2=80=A2=20fixed=20DBViewSplitter's=20grabber=20bounds?= =?UTF-8?q?=20for=20splitView:splitView=20additionalEffectiveRectOfDivider?= =?UTF-8?q?AtIndex:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPDatabaseDocument.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m index a323d7d3..1614718d 100644 --- a/Source/SPDatabaseDocument.m +++ b/Source/SPDatabaseDocument.m @@ -4479,7 +4479,8 @@ - (NSRect)splitView:(NSSplitView *)splitView additionalEffectiveRectOfDividerAtIndex:(NSInteger)dividerIndex { if (sidebarGrabber != nil) { - return [sidebarGrabber convertRect:[sidebarGrabber bounds] toView:splitView]; + NSRect grabberBounds = [sidebarGrabber bounds]; + return [sidebarGrabber convertRect:NSMakeRect(grabberBounds.origin.x + (grabberBounds.size.width - 16), grabberBounds.origin.y, 16, grabberBounds.size.height) toView:splitView]; } else { return NSZeroRect; } -- cgit v1.2.3