Revision: 3009
          http://skim-app.svn.sourceforge.net/skim-app/?rev=3009&view=rev
Author:   hofman
Date:     2007-10-02 10:33:19 -0700 (Tue, 02 Oct 2007)

Log Message:
-----------
Fix transitions: invert check for change of page label.

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2007-10-02 14:51:23 UTC (rev 3008)
+++ trunk/SKPDFView.m   2007-10-02 17:33:19 UTC (rev 3009)
@@ -603,7 +603,7 @@
 
 - (void)animateTransitionForNextPage:(BOOL)next {
     unsigned int index = [[self currentPage] pageIndex];
-    BOOL shouldAnimate = [[[self currentPage] label] isEqualToString:[[[self 
document] pageAtIndex:next ? ++index : --index] label]];
+    BOOL shouldAnimate = [[[self currentPage] label] isEqualToString:[[[self 
document] pageAtIndex:next ? ++index : --index] label]] == NO;
     NSRect rect;
     if (shouldAnimate) {
         rect = [self convertRect:[[self currentPage] boundsForBox:[self 
displayBox]] fromPage:[self currentPage]];


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