Revision: 16187
          http://sourceforge.net/p/skim-app/code/16187
Author:   hofman
Date:     2026-04-07 22:31:26 +0000 (Tue, 07 Apr 2026)
Log Message:
-----------
should use sizeToFit before 11.0 rather than after

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

Modified: trunk/SKToolbarItem.m
===================================================================
--- trunk/SKToolbarItem.m       2026-04-07 14:17:42 UTC (rev 16186)
+++ trunk/SKToolbarItem.m       2026-04-07 22:31:26 UTC (rev 16187)
@@ -71,7 +71,7 @@
 }
 
 - (void)setView:(NSView *)view {
-    if (@available(macOS 11.0, *)) {
+    if (@available(macOS 11.0, *)) {} else {
         if ([view isKindOfClass:[NSSegmentedControl class]] || [view 
isKindOfClass:[NSStepper class]])
             [(NSControl *)view sizeToFit];
     }

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