Revision: 15500
          http://sourceforge.net/p/skim-app/code/15500
Author:   hofman
Date:     2025-06-19 09:22:50 +0000 (Thu, 19 Jun 2025)
Log Message:
-----------
Also remove text color accessory view from color panel

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

Modified: trunk/SKMainWindowController_UI.m
===================================================================
--- trunk/SKMainWindowController_UI.m   2025-06-18 16:06:24 UTC (rev 15499)
+++ trunk/SKMainWindowController_UI.m   2025-06-19 09:22:50 UTC (rev 15500)
@@ -248,7 +248,7 @@
 - (void)windowDidResignMain:(NSNotification *)notification {
     if ([[self window] isEqual:[notification object]]) {
         [[SKImageToolTipWindow sharedToolTipWindow] orderOut:nil];
-        if ([[[NSColorPanel sharedColorPanel] accessoryView] 
isEqual:colorAccessoryView])
+        if ([[[NSColorPanel sharedColorPanel] accessoryView] 
isEqual:colorAccessoryView] || [[[NSColorPanel sharedColorPanel] accessoryView] 
isEqual:textColorAccessoryView])
             [[NSColorPanel sharedColorPanel] setAccessoryView:nil];
         if ([self interactionMode] == SKPresentationMode && [[NSUserDefaults 
standardUserDefaults] boolForKey:SKUseNormalLevelForPresentationKey] == NO)
             [[self window] setLevel:NSNormalWindowLevel];

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