Revision: 15088
          http://sourceforge.net/p/skim-app/code/15088
Author:   hofman
Date:     2025-04-06 16:04:18 +0000 (Sun, 06 Apr 2025)
Log Message:
-----------
Initialize showsStateBy in cell class

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

Modified: trunk/SKFontWell.m
===================================================================
--- trunk/SKFontWell.m  2025-04-06 15:46:51 UTC (rev 15087)
+++ trunk/SKFontWell.m  2025-04-06 16:04:18 UTC (rev 15088)
@@ -82,7 +82,6 @@
     if ([self font] == nil)
         [self setFont:[NSFont userFontOfSize:0.0]];
     [self setTitle:[NSString stringWithFormat:@"%@ %.0f", [[self font] 
displayName], [[self font] pointSize]]];
-    [[self cell] setShowsStateBy:NSNoCellMask];
     [[self cell] setAction:@selector(changeActive:)];
     [[self cell] setTarget:self];
     [self registerForDraggedTypes:@[SKNSFontPanelDescriptorsPboardType, 
SKNSFontPanelFamiliesPboardType, NSPasteboardTypeColor]];
@@ -393,6 +392,7 @@
         [self setTextColor:[NSColor controlTextColor]];
     [self setBezelStyle:NSShadowlessSquareBezelStyle]; // this is mainly to 
make it selectable
     [self setButtonType:NSPushOnPushOffButton];
+    [self setShowsStateBy:NSNoCellMask];
     [self setState:NSControlStateValueOff];
 }
  

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to