Revision: 14464
http://sourceforge.net/p/skim-app/code/14464
Author: hofman
Date: 2024-09-22 14:34:40 +0000 (Sun, 22 Sep 2024)
Log Message:
-----------
fix index for animation
Modified Paths:
--------------
trunk/SKPresentationView.m
Modified: trunk/SKPresentationView.m
===================================================================
--- trunk/SKPresentationView.m 2024-09-20 14:59:20 UTC (rev 14463)
+++ trunk/SKPresentationView.m 2024-09-22 14:34:40 UTC (rev 14464)
@@ -282,7 +282,7 @@
NSUInteger idx = [page pageIndex];
if (idx > 0) {
PDFPage *toPage = [pdfDoc pageAtIndex:idx - 1];
- if ([self window] == nil || NO == [self animateTransitionFromIndex:idx
toPage:toPage atIndex:idx + 1])
+ if ([self window] == nil || NO == [self animateTransitionFromIndex:idx
toPage:toPage atIndex:idx - 1])
[self setPage:toPage];
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit