Revision: 7278
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7278&view=rev
Author:   hofman
Date:     2011-06-17 21:03:40 +0000 (Fri, 17 Jun 2011)

Log Message:
-----------
fix offset of status bar when hiding

Modified Paths:
--------------
    trunk/SKStatusBar.m

Modified: trunk/SKStatusBar.m
===================================================================
--- trunk/SKStatusBar.m 2011-06-17 21:01:57 UTC (rev 7277)
+++ trunk/SKStatusBar.m 2011-06-17 21:03:40 UTC (rev 7278)
@@ -205,7 +205,10 @@
         [self setFrame:statusRect];
                [contentView addSubview:self positioned:NSWindowBelow 
relativeTo:nil];
         statusHeight = -statusHeight;
-       }
+       } else if ([contentView isFlipped]) {
+        statusRect.origin.y = NSMaxY([contentView bounds]) - statusHeight;
+    }
+
     viewFrame.size.height += statusHeight;
     if ([contentView isFlipped]) {
         statusRect.origin.y += statusHeight;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to