Revision: 16231
          http://sourceforge.net/p/skim-app/code/16231
Author:   hofman
Date:     2026-05-06 14:42:33 +0000 (Wed, 06 May 2026)
Log Message:
-----------
we don't use history highlights in toc for 10.15-

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

Modified: trunk/SKMainWindowController_UI.m
===================================================================
--- trunk/SKMainWindowController_UI.m   2026-05-06 14:25:46 UTC (rev 16230)
+++ trunk/SKMainWindowController_UI.m   2026-05-06 14:42:33 UTC (rev 16231)
@@ -833,7 +833,8 @@
 - (NSTableRowView *)outlineView:(NSOutlineView *)ov rowViewForItem:(id)item {
     if ([ov isEqual:leftSideController.tocOutlineView]) {
         SKHighlightingTableRowView *rowView = [ov 
makeViewWithIdentifier:ROWVIEW_IDENTIFIER owner:self];
-        [rowView setHighlightLevel:[self tocHighlightLevelForRow:[ov 
rowForItem:item]]];
+        if (@available(macOS 11.0, *))
+            [rowView setHighlightLevel:[self tocHighlightLevelForRow:[ov 
rowForItem:item]]];
         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