From b1b0bb0fcb687b06d0af23b972396eb6f412852f Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Tue, 3 Aug 2010 00:38:50 +0000 Subject: 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 --- Source/SPDatabaseDocument.m | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/SPDatabaseDocument.m') 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; } -- cgit v1.2.3