Revision: 13736
          http://sourceforge.net/p/skim-app/code/13736
Author:   hofman
Date:     2023-11-07 23:41:07 +0000 (Tue, 07 Nov 2023)
Log Message:
-----------
no need to implement property for generic PDFView

Modified Paths:
--------------
    trunk/PDFView_SKExtensions.h
    trunk/PDFView_SKExtensions.m

Modified: trunk/PDFView_SKExtensions.h
===================================================================
--- trunk/PDFView_SKExtensions.h        2023-11-07 10:10:41 UTC (rev 13735)
+++ trunk/PDFView_SKExtensions.h        2023-11-07 23:41:07 UTC (rev 13736)
@@ -68,8 +68,6 @@
 
 - (NSRect)layoutBoundsForPage:(PDFPage *)page;
 
-@property (nonatomic, readonly) BOOL drawsActiveSelections;
-
 + (NSColor *)defaultBackgroundColor;
 + (NSColor *)defaultFullScreenBackgroundColor;
 

Modified: trunk/PDFView_SKExtensions.m
===================================================================
--- trunk/PDFView_SKExtensions.m        2023-11-07 10:10:41 UTC (rev 13735)
+++ trunk/PDFView_SKExtensions.m        2023-11-07 23:41:07 UTC (rev 13736)
@@ -67,7 +67,7 @@
 
 @implementation PDFView (SKExtensions)
 
-@dynamic physicalScaleFactor, scrollView, displayedPages, visibleContentRect, 
drawsActiveSelections;
+@dynamic physicalScaleFactor, scrollView, displayedPages, visibleContentRect;
 
 static inline CGFloat physicalScaleFactorForView(NSView *view) {
     NSScreen *screen = [[view window] screen];
@@ -321,13 +321,6 @@
     return pageRect;
 }
 
-- (BOOL)drawsActiveSelections {
-    if (@available(macOS 10.15, *))
-        return [[self window] isKeyWindow];
-    else
-        return YES;
-}
-
 static NSColor *defaultBackgroundColor(NSString *backgroundColorKey, NSString 
*darkBackgroundColorKey) {
     NSColor *color = nil;
     if (SKHasDarkAppearance(NSApp))

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

Reply via email to