Revision: 16214
          http://sourceforge.net/p/skim-app/code/16214
Author:   hofman
Date:     2026-05-04 14:16:18 +0000 (Mon, 04 May 2026)
Log Message:
-----------
check effectiveStyle rather than style

Modified Paths:
--------------
    trunk/SKNoteOutlineView.m

Modified: trunk/SKNoteOutlineView.m
===================================================================
--- trunk/SKNoteOutlineView.m   2026-05-03 22:10:03 UTC (rev 16213)
+++ trunk/SKNoteOutlineView.m   2026-05-04 14:16:18 UTC (rev 16214)
@@ -206,7 +206,7 @@
     }
     if (outlineIsFirst == 1) {
         if (@available(macOS 11.0, *))
-            width -= [self style] == NSTableViewStylePlain ? 18.0 : 9.0;
+            width -= [self effectiveStyle] == NSTableViewStylePlain ? 18.0 : 
9.0;
         else
             width -= 16.0;
     }
@@ -215,7 +215,7 @@
 
 - (CGFloat)outlineIndentation {
     if (@available(macOS 11.0, *)) {
-        if ([self style] == NSTableViewStylePlain)
+        if ([self effectiveStyle] == NSTableViewStylePlain)
             return 18.0;
         else if ([self outlineColumnIsFirst])
             return 9.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

Reply via email to