Revision: 16232
          http://sourceforge.net/p/skim-app/code/16232
Author:   hofman
Date:     2026-05-06 14:51:07 +0000 (Wed, 06 May 2026)
Log Message:
-----------
don't bother using highlighting rowview on older systems

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

Modified: trunk/SKMainWindowController_UI.m
===================================================================
--- trunk/SKMainWindowController_UI.m   2026-05-06 14:42:33 UTC (rev 16231)
+++ trunk/SKMainWindowController_UI.m   2026-05-06 14:51:07 UTC (rev 16232)
@@ -832,10 +832,11 @@
 
 - (NSTableRowView *)outlineView:(NSOutlineView *)ov rowViewForItem:(id)item {
     if ([ov isEqual:leftSideController.tocOutlineView]) {
-        SKHighlightingTableRowView *rowView = [ov 
makeViewWithIdentifier:ROWVIEW_IDENTIFIER owner:self];
-        if (@available(macOS 11.0, *))
+        if (@available(macOS 11.0, *)) {
+            SKHighlightingTableRowView *rowView = [ov 
makeViewWithIdentifier:ROWVIEW_IDENTIFIER owner:self];
             [rowView setHighlightLevel:[self tocHighlightLevelForRow:[ov 
rowForItem:item]]];
-        return rowView;
+            return rowView;
+        }
     } else if ([ov isEqual:rightSideController.noteOutlineView]) {
         return [ov makeViewWithIdentifier:ROWVIEW_IDENTIFIER owner:self];
     }

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