Revision: 29098
          http://sourceforge.net/p/bibdesk/svn/29098
Author:   hofman
Date:     2025-04-06 16:15:56 +0000 (Sun, 06 Apr 2025)
Log Message:
-----------
No need to update focus ring ourselves

Modified Paths:
--------------
    trunk/bibdesk/BDSKFontWell.m

Modified: trunk/bibdesk/BDSKFontWell.m
===================================================================
--- trunk/bibdesk/BDSKFontWell.m        2025-04-06 16:14:00 UTC (rev 29097)
+++ trunk/bibdesk/BDSKFontWell.m        2025-04-06 16:15:56 UTC (rev 29098)
@@ -158,7 +158,6 @@
                name:NSWindowWillCloseNotification object:[fm fontPanel:YES]];
     
     [self setState:NSOnState];
-    [self setKeyboardFocusRingNeedsDisplayInRect:[self bounds]];
     [self setNeedsDisplay:YES];
 }
 
@@ -165,7 +164,6 @@
 - (void)deactivate {
     [[NSNotificationCenter defaultCenter] removeObserver:self];
     [self setState:NSOffState];
-    [self setKeyboardFocusRingNeedsDisplayInRect:[self bounds]];
     [self setNeedsDisplay:YES];
 }
 
@@ -234,7 +232,6 @@
 - (NSDragOperation)draggingEntered:(id <NSDraggingInfo>)sender {
     if ([self isEnabled] && [sender draggingSource] != self && [[sender 
draggingPasteboard] 
availableTypeFromArray:@[BDSKNSFontPanelDescriptorsPboardType, 
BDSKNSFontPanelFamiliesPboardType]]) {
         [[self cell] setHighlighted:YES];
-        [self setKeyboardFocusRingNeedsDisplayInRect:[self bounds]];
         [self setNeedsDisplay:YES];
         return NSDragOperationGeneric;
     } else
@@ -244,7 +241,6 @@
 - (void)draggingExited:(id <NSDraggingInfo>)sender {
     if ([self isEnabled] && [sender draggingSource] != self && [[sender 
draggingPasteboard] 
availableTypeFromArray:@[BDSKNSFontPanelDescriptorsPboardType, 
BDSKNSFontPanelFamiliesPboardType]]) {
         [[self cell] setHighlighted:NO];
-        [self setKeyboardFocusRingNeedsDisplayInRect:[self bounds]];
         [self setNeedsDisplay:YES];
     }
 }
@@ -288,7 +284,6 @@
     }
     
     [[self cell] setHighlighted:NO];
-    [self setKeyboardFocusRingNeedsDisplayInRect:[self bounds]];
     [self setNeedsDisplay:YES];
     
        return droppedFont != nil;

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



_______________________________________________
Bibdesk-commit mailing list
Bibdesk-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to