Revision: 14158
http://sourceforge.net/p/skim-app/code/14158
Author: hofman
Date: 2024-04-01 09:02:01 +0000 (Mon, 01 Apr 2024)
Log Message:
-----------
remove hidden pref to ignore destination zoom
Modified Paths:
--------------
trunk/SKBasePDFView.m
Modified: trunk/SKBasePDFView.m
===================================================================
--- trunk/SKBasePDFView.m 2024-03-29 15:45:05 UTC (rev 14157)
+++ trunk/SKBasePDFView.m 2024-04-01 09:02:01 UTC (rev 14158)
@@ -49,8 +49,6 @@
static char SKBasePDFViewDefaultsObservationContext;
-#define SKIgnoreDestinationZoomKey @"SKIgnoreDestinationZoom"
-
#if SDK_BEFORE_10_14
@interface PDFView (SKMojaveDeclarations)
@property (nonatomic, setter=enablePageShadows:) BOOL pageShadowsEnabled;
@@ -304,7 +302,7 @@
- (void)goToDestination:(PDFDestination *)destination {
destination = [destination effectiveDestinationForView:self];
- if ([destination zoom] < kPDFDestinationUnspecifiedValue && [destination
zoom] > 0.0 && [[NSUserDefaults standardUserDefaults]
boolForKey:SKIgnoreDestinationZoomKey] == NO)
+ if ([destination zoom] < kPDFDestinationUnspecifiedValue && [destination
zoom] > 0.0)
[self setScaleFactor:[destination zoom]];
[super goToDestination:destination];
}
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