Revision: 2943
          http://skim-app.svn.sourceforge.net/skim-app/?rev=2943&view=rev
Author:   hofman
Date:     2007-09-20 01:46:49 -0700 (Thu, 20 Sep 2007)

Log Message:
-----------
Redisplay secondary PDF view after double-clicking divider.

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2007-09-19 22:52:52 UTC (rev 2942)
+++ trunk/SKMainWindowController.m      2007-09-20 08:46:49 UTC (rev 2943)
@@ -1934,6 +1934,7 @@
         [secondaryPdfView setDisplaysPageBreaks:NO];
         [secondaryPdfView setDisplayBox:kPDFDisplayBoxCropBox];
         [secondaryPdfView setBackgroundColor:[pdfView backgroundColor]];
+        [secondaryPdfView layoutDocumentView];
         [secondaryPdfView goToPage:[pdfView currentPage]];
         point = [secondaryPdfView convertPoint:[secondaryPdfView 
convertPoint:point fromPage:[secondaryPdfView currentPage]] 
toView:[secondaryPdfView documentView]];
         [[secondaryPdfView documentView] scrollPoint:point];
@@ -4849,6 +4850,8 @@
         [secondaryPdfContentBox setFrame:secondaryFrame];
         [pdfSplitView setNeedsDisplay:YES];
         [pdfSplitView adjustSubviews];
+        [secondaryPdfView layoutDocumentView];
+        [secondaryPdfView setNeedsDisplay:YES];
     }
 }
 


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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to