aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-08-03 00:38:50 +0000
committerrowanbeentje <rowan@beent.je>2010-08-03 00:38:50 +0000
commitb1b0bb0fcb687b06d0af23b972396eb6f412852f (patch)
treef7099d59d03fa55ec417eb770b4c741b27b5882c /Source/SPDatabaseDocument.m
parent27afe9f25ea1b7b15ed9fb12928f9d3a6fcf9788 (diff)
downloadsequelpro-b1b0bb0fcb687b06d0af23b972396eb6f412852f.tar.gz
sequelpro-b1b0bb0fcb687b06d0af23b972396eb6f412852f.tar.bz2
sequelpro-b1b0bb0fcb687b06d0af23b972396eb6f412852f.zip
Improve tab dragging:
- Fix toolbar issues when the last tab is dragged "out of" a window (eg a window is moved via the only tab left inside it) - Fix window positioning flicker when dragging a tab out of its window
Diffstat (limited to 'Source/SPDatabaseDocument.m')
-rw-r--r--Source/SPDatabaseDocument.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m
index 312d20af..c282b219 100644
--- a/Source/SPDatabaseDocument.m
+++ b/Source/SPDatabaseDocument.m
@@ -4468,6 +4468,7 @@
}
+ // Otherwise position the sheet beneath the tab bar if it's visible
rect.origin.y -= [[parentWindowController valueForKey:@"tabBar"] frame].size.height - 1;
return rect;
}