Revision: 3916
          http://skim-app.svn.sourceforge.net/skim-app/?rev=3916&view=rev
Author:   hofman
Date:     2008-05-25 16:24:26 -0700 (Sun, 25 May 2008)

Log Message:
-----------
redisplay when showing reading bar

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2008-05-25 20:55:44 UTC (rev 3915)
+++ trunk/SKPDFView.m   2008-05-25 23:24:26 UTC (rev 3916)
@@ -655,13 +655,13 @@
     if (readingBar) {
         [readingBar release];
         readingBar = nil;
-        [self setNeedsDisplay:YES];
     } else {
         readingBar = [[SKReadingBar alloc] initWithPage:[self currentPage]];
         [readingBar goToNextLine];
         [self scrollRect:NSInsetRect([readingBar currentBounds], 0.0, -20.0) 
inPageToVisible:[readingBar page]];
         [userInfo setValue:[readingBar page] forKey:SKPDFViewNewPageKey];
     }
+    [self setNeedsDisplay:YES];
     [[NSNotificationCenter defaultCenter] 
postNotificationName:SKPDFViewReadingBarDidChangeNotification object:self 
userInfo:userInfo];
 }
 


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 2008.
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