Revision: 15899
http://sourceforge.net/p/skim-app/code/15899
Author: hofman
Date: 2025-12-20 23:10:36 +0000 (Sat, 20 Dec 2025)
Log Message:
-----------
rename method
Modified Paths:
--------------
trunk/SKMainWindowController.m
trunk/SKPDFView.h
trunk/SKPDFView.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2025-12-20 18:28:54 UTC (rev 15898)
+++ trunk/SKMainWindowController.m 2025-12-20 23:10:36 UTC (rev 15899)
@@ -687,7 +687,7 @@
- (void)updateRightStatus {
NSRect rect = [pdfView selectToolRect];
- CGFloat magnification = [pdfView currentMagnification];
+ CGFloat magnification = [pdfView magnifyToolMagnification];
NSString *message;
if ([[NSUserDefaults standardUserDefaults]
boolForKey:SKDisplayNoteBoundsKey] && NSEqualRects(rect, NSZeroRect) &&
[pdfView currentAnnotation])
Modified: trunk/SKPDFView.h
===================================================================
--- trunk/SKPDFView.h 2025-12-20 18:28:54 UTC (rev 15898)
+++ trunk/SKPDFView.h 2025-12-20 23:10:36 UTC (rev 15899)
@@ -190,7 +190,7 @@
@property (nonatomic, readonly, getter=isZooming) BOOL zooming;
@property (nonatomic) NSRect selectToolRect;
@property (nonatomic, nullable, strong) PDFPage *selectToolPage;
-@property (nonatomic, readonly) CGFloat currentMagnification;
+@property (nonatomic, readonly) CGFloat magnifyToolMagnification;
@property (nonatomic) BOOL hideNotes;
@property (nonatomic, readonly) BOOL canSelectNote;
@property (nonatomic, readonly) BOOL hasReadingBar;
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2025-12-20 18:28:54 UTC (rev 15898)
+++ trunk/SKPDFView.m 2025-12-20 23:10:36 UTC (rev 15899)
@@ -244,7 +244,7 @@
@implementation SKPDFView
@synthesize toolMode, annotationMode, temporaryToolMode, currentAnnotation,
readingBar, pacerSpeed, typeSelectHelper, syncDot, hideNotes, zooming;
-@dynamic extendedDisplayMode, displaysHorizontally, displaySettings,
canSelectNote, hasReadingBar, hasPacer, selectToolPage, selectToolRect,
currentMagnification, needsRewind, editing, delegate;
+@dynamic extendedDisplayMode, displaysHorizontally, displaySettings,
canSelectNote, hasReadingBar, hasPacer, selectToolPage, selectToolRect,
magnifyToolMagnification, needsRewind, editing, delegate;
+ (void)initialize {
SKINITIALIZE;
@@ -890,7 +890,7 @@
}
}
-- (CGFloat)currentMagnification {
+- (CGFloat)magnifyToolMagnification {
return loupeController ? [loupeController magnification] : 0.0;
}
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