aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-06-30 10:14:53 +0000
committerBibiko <bibiko@eva.mpg.de>2010-06-30 10:14:53 +0000
commite7502a90d7f5ff4a33c73d54ea81a4e539d0e3ce (patch)
tree70ed0944402029b9ac8d5cc8eaea9ba59d1eeed3
parent8e26f6e3953f3b0e0a891057110c8e24b806a99a (diff)
downloadsequelpro-e7502a90d7f5ff4a33c73d54ea81a4e539d0e3ce.tar.gz
sequelpro-e7502a90d7f5ff4a33c73d54ea81a4e539d0e3ce.tar.bz2
sequelpro-e7502a90d7f5ff4a33c73d54ea81a4e539d0e3ce.zip
• fixed DBViewSplitter's grabber bounds for splitView:splitView additionalEffectiveRectOfDividerAtIndex:
-rw-r--r--Source/SPDatabaseDocument.m3
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;
}