diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-06-30 10:14:53 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-06-30 10:14:53 +0000 |
commit | e7502a90d7f5ff4a33c73d54ea81a4e539d0e3ce (patch) | |
tree | 70ed0944402029b9ac8d5cc8eaea9ba59d1eeed3 | |
parent | 8e26f6e3953f3b0e0a891057110c8e24b806a99a (diff) | |
download | sequelpro-e7502a90d7f5ff4a33c73d54ea81a4e539d0e3ce.tar.gz sequelpro-e7502a90d7f5ff4a33c73d54ea81a4e539d0e3ce.tar.bz2 sequelpro-e7502a90d7f5ff4a33c73d54ea81a4e539d0e3ce.zip |
• fixed DBViewSplitter's grabber bounds for splitView:splitView additionalEffectiveRectOfDividerAtIndex:
-rw-r--r-- | Source/SPDatabaseDocument.m | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |