Revision: 2942
          http://skim-app.svn.sourceforge.net/skim-app/?rev=2942&view=rev
Author:   hofman
Date:     2007-09-19 15:52:52 -0700 (Wed, 19 Sep 2007)

Log Message:
-----------
Set background color of secondary PDF view.

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2007-09-19 20:52:27 UTC (rev 2941)
+++ trunk/SKMainWindowController.m      2007-09-19 22:52:52 UTC (rev 2942)
@@ -1933,6 +1933,7 @@
         [secondaryPdfView setDisplayMode:kPDFDisplaySinglePageContinuous];
         [secondaryPdfView setDisplaysPageBreaks:NO];
         [secondaryPdfView setDisplayBox:kPDFDisplayBoxCropBox];
+        [secondaryPdfView setBackgroundColor:[pdfView backgroundColor]];
         [secondaryPdfView goToPage:[pdfView currentPage]];
         point = [secondaryPdfView convertPoint:[secondaryPdfView 
convertPoint:point fromPage:[secondaryPdfView currentPage]] 
toView:[secondaryPdfView documentView]];
         [[secondaryPdfView documentView] scrollPoint:point];
@@ -3040,6 +3041,7 @@
         if ([key isEqualToString:SKBackgroundColorKey]) {
             if ([self isFullScreen] == NO && [self isPresentation] == NO)
                 [pdfView setBackgroundColor:[[NSUserDefaults 
standardUserDefaults] colorForKey:SKBackgroundColorKey]];
+            [secondaryPdfView setBackgroundColor:[[NSUserDefaults 
standardUserDefaults] colorForKey:SKBackgroundColorKey]];
         } else if ([key isEqualToString:SKFullScreenBackgroundColorKey]) {
             if ([self isFullScreen]) {
                 NSColor *color = [[NSUserDefaults standardUserDefaults] 
colorForKey:SKFullScreenBackgroundColorKey];


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