Revision: 15085
          http://sourceforge.net/p/skim-app/code/15085
Author:   hofman
Date:     2025-04-06 08:57:03 +0000 (Sun, 06 Apr 2025)
Log Message:
-----------
set text color in font panel after showing the panel, otherwise it is not set

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

Modified: trunk/SKFontWell.m
===================================================================
--- trunk/SKFontWell.m  2025-04-04 15:34:46 UTC (rev 15084)
+++ trunk/SKFontWell.m  2025-04-06 08:57:03 UTC (rev 15085)
@@ -180,9 +180,9 @@
     [nc postNotificationName:SKFontWellWillBecomeActiveNotification 
object:self];
     
     [fm setSelectedFont:[self font] isMultiple:NO];
+    [fm orderFrontFontPanel:self];
     if ([self hasTextColor])
         [fm setSelectedAttributes:@{NSForegroundColorAttributeName: [self 
textColor]} isMultiple:NO];
-    [fm orderFrontFontPanel:self];
     
     [nc addObserver:self selector:@selector(fontWellWillBecomeActive:)
                name:SKFontWellWillBecomeActiveNotification object:nil];

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