Revision: 12142
          http://sourceforge.net/p/skim-app/code/12142
Author:   hofman
Date:     2021-03-01 09:35:45 +0000 (Mon, 01 Mar 2021)
Log Message:
-----------
No need to redsiplay color swatch, it does not draw anything itself

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

Modified: trunk/SKColorSwatch.m
===================================================================
--- trunk/SKColorSwatch.m       2021-03-01 00:15:38 UTC (rev 12141)
+++ trunk/SKColorSwatch.m       2021-03-01 09:35:45 UTC (rev 12142)
@@ -451,7 +451,6 @@
     if (++focusedIndex >= (NSInteger)[colors count])
         focusedIndex = 0;
     [self noteFocusRingMaskChanged];
-    [self setNeedsDisplay:YES];
     NSAccessibilityPostNotification(self, 
NSAccessibilityFocusedUIElementChangedNotification);
 }
 
@@ -459,7 +458,6 @@
     if (--focusedIndex < 0)
         focusedIndex = [colors count] - 1;
     [self noteFocusRingMaskChanged];
-    [self setNeedsDisplay:YES];
     NSAccessibilityPostNotification(self, 
NSAccessibilityFocusedUIElementChangedNotification);
 }
 
@@ -813,7 +811,6 @@
         [[self window] makeFirstResponder:self];
         focusedIndex = anIndex;
         [self noteFocusRingMaskChanged];
-        [self setNeedsDisplay:YES];
     }
 }
 

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