Ignore:
Timestamp:
Aug 7, 2006, 12:11:07 AM (16 years ago)
Author:
livings124
Message:

Simplify by updating button tracking for change in frame rather than a change in bounds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/BarButton.m

    r731 r732  
    5555       
    5656        [nc addObserver: self selector: @selector(resetBounds:)
    57                     name: NSViewBoundsDidChangeNotification object: nil];
     57                    name: NSViewFrameDidChangeNotification object: nil];
    5858    }
    5959    return self;
     
    226226    if (!fEnabled)
    227227        [self setImage: fButtonOver];
    228 
     228   
    229229    [super mouseEntered: event];
    230230}
Note: See TracChangeset for help on using the changeset viewer.