From: <ho...@us...> - 2012-01-04 22:18:03
|
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. |