Revision: 15183
http://sourceforge.net/p/skim-app/code/15183
Author: hofman
Date: 2025-05-10 22:13:11 +0000 (Sat, 10 May 2025)
Log Message:
-----------
rename method
Modified Paths:
--------------
trunk/SKPresentationView.m
trunk/SKTransitionController.h
trunk/SKTransitionController.m
Modified: trunk/SKPresentationView.m
===================================================================
--- trunk/SKPresentationView.m 2025-05-10 21:31:36 UTC (rev 15182)
+++ trunk/SKPresentationView.m 2025-05-10 22:13:11 UTC (rev 15183)
@@ -172,7 +172,7 @@
if ([transitionController pageTransitions] == nil &&
([[transitionController transition] style] == SKNoTransition ||
equalStrings([page label], [toPage label])))
return NO;
- id animation = [transitionController animationForView:self atIndex:idx
fomRect:[self pageRect]];
+ id animation = [transitionController animationAtIndex:idx forRect:[self
pageRect] inView:self];
if (animation == nil)
return NO;
page = toPage;
@@ -188,7 +188,7 @@
NSUInteger idx = [page pageIndex];
if (idx + 1 < [pdfDoc pageCount]) {
PDFPage *toPage = [pdfDoc pageAtIndex:idx + 1];
- id animation = [transitionController animationForView:self atIndex:idx
fomRect:[self pageRect]];
+ id animation = [transitionController animationAtIndex:idx
forRect:[self pageRect] inView:self];
page = toPage;
[[NSNotificationCenter defaultCenter]
postNotificationName:SKPresentationViewPageChangedNotification object:self];
[self displayPage:^{
Modified: trunk/SKTransitionController.h
===================================================================
--- trunk/SKTransitionController.h 2025-05-10 21:31:36 UTC (rev 15182)
+++ trunk/SKTransitionController.h 2025-05-10 22:13:11 UTC (rev 15183)
@@ -56,7 +56,7 @@
@property (nonatomic) BOOL shouldScale;
-- (id)animationForView:(NSView *)view atIndex:(NSUInteger)anIndex
fomRect:(NSRect)rect;
+- (id)animationAtIndex:(NSUInteger)anIndex forRect:(NSRect)rect inView:(NSView
*)view;
- (void)performAnimation:(nullable id)animation toRect:(NSRect)toRect
forward:(BOOL)forward completionHandler:(void (^
_Nullable)(void))completionHandler;
@end
Modified: trunk/SKTransitionController.m
===================================================================
--- trunk/SKTransitionController.m 2025-05-10 21:31:36 UTC (rev 15182)
+++ trunk/SKTransitionController.m 2025-05-10 22:13:11 UTC (rev 15183)
@@ -171,7 +171,7 @@
return image;
}
-- (id)animationForView:(NSView *)view atIndex:(NSUInteger)idx
fomRect:(NSRect)rect {
+- (id)animationAtIndex:(NSUInteger)idx forRect:(NSRect)rect inView:(NSView
*)view {
if (animating)
return nil;
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