Revision: 7618
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7618&view=rev
Author:   hofman
Date:     2012-01-04 22:17:57 +0000 (Wed, 04 Jan 2012)
Log Message:
-----------
remember split PDF height when closing

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

Modified: trunk/SKMainWindowController_Actions.m
===================================================================
--- trunk/SKMainWindowController_Actions.m      2011-12-30 18:31:03 UTC (rev 
7617)
+++ trunk/SKMainWindowController_Actions.m      2012-01-04 22:17:57 UTC (rev 
7618)
@@ -957,6 +957,8 @@
     
     if ([secondaryPdfView window]) {
         
+        lastSplitPDFHeight = NSHeight([secondaryPdfContentView frame]);
+        
         NSTimeInterval delay = [[NSUserDefaults standardUserDefaults] 
boolForKey:SKDisableAnimationsKey] ? 0.0 : [[NSAnimationContext currentContext] 
duration];
         [pdfSplitView setPosition:[pdfSplitView 
maxPossiblePositionOfDividerAtIndex:0] ofDividerAtIndex:0 animate:YES];
         [self performSelector:@selector(removeSecondaryPdfContentView) 
withObject:nil afterDelay:delay];

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


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to