Revision: 15034
http://sourceforge.net/p/skim-app/code/15034
Author: hofman
Date: 2025-03-28 10:11:19 +0000 (Fri, 28 Mar 2025)
Log Message:
-----------
Don't autoresize color swatch control on 11.0+, let autolayout do its work. Not
sure if it is needed on 10.15- for toolbar items.
Modified Paths:
--------------
trunk/SKColorSwatch.m
Modified: trunk/SKColorSwatch.m
===================================================================
--- trunk/SKColorSwatch.m 2025-03-28 10:05:19 UTC (rev 15033)
+++ trunk/SKColorSwatch.m 2025-03-28 10:11:19 UTC (rev 15034)
@@ -148,7 +148,10 @@
- (instancetype)initWithFrame:(NSRect)frame {
self = [super initWithFrame:frame];
if (self) {
- autoResizes = YES;
+ if (@available(macOS 11.0, *))
+ autoResizes = NO;
+ else
+ autoResizes = YES;
selects = NO;
bezelHeight = 22.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