Revision: 14228
http://sourceforge.net/p/skim-app/code/14228
Author: hofman
Date: 2024-04-22 09:30:16 +0000 (Mon, 22 Apr 2024)
Log Message:
-----------
no need to enable/disable page shadows for presentation, this is done
implicitly when changing the pageBreaks setting
Modified Paths:
--------------
trunk/SKMainWindowController_FullScreen.m
Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m 2024-04-21 15:13:52 UTC (rev
14227)
+++ trunk/SKMainWindowController_FullScreen.m 2024-04-22 09:30:16 UTC (rev
14228)
@@ -88,12 +88,6 @@
static CGFloat fullScreenToolbarOffset = 0.0;
-#if SDK_BEFORE_10_14
-@interface PDFView (SKMojaveDeclarations)
-@property (nonatomic, setter=enablePageShadows:) BOOL pageShadowsEnabled;
-@end
-#endif
-
@interface SKMainWindowController (SKFullScreenPrivate)
- (void)applyLeftSideWidth:(CGFloat)leftSideWidth
rightSideWidth:(CGFloat)rightSideWidth;
@end
@@ -213,8 +207,6 @@
[pdfView setDisplayMode:kPDFDisplaySinglePage];
[pdfView setDisplayBox:kPDFDisplayBoxCropBox];
[pdfView setDisplaysPageBreaks:NO];
- if (@available(macOS 10.14, *))
- [pdfView enablePageShadows:NO];
[scrollView setAutohidesScrollers:YES];
[scrollView setHasHorizontalScroller:NO];
[scrollView setHasVerticalScroller:NO];
@@ -246,9 +238,6 @@
[self removePresentationNotesNavigation];
- if (@available(macOS 10.14, *))
- [pdfView enablePageShadows:YES];
-
NSScrollView *scrollView = [pdfView scrollView];
[scrollView setHasHorizontalScroller:[[savedNormalSetup
objectForKey:HASHORIZONTALSCROLLER_KEY] boolValue]];
[scrollView setHasVerticalScroller:[[savedNormalSetup
objectForKey:HASVERTICALSCROLLER_KEY] boolValue]];
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