Changeset 583


Ignore:
Timestamp:
Jul 15, 2006, 6:42:22 PM (17 years ago)
Author:
livings124
Message:

This should make the filter buttons work a bit better.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/BarButton.m

    r582 r583  
    5959        [rect fill];
    6060        [fButtonDown unlockFocus];
     61       
     62        [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(resetBounds:)
     63                    name: NSViewBoundsDidChangeNotification object: nil];
    6164        }
    6265        return self;
     
    156159}
    157160
     161- (void) resetBounds: (NSNotification *) notification
     162{
     163    [self addTrackingRect: [self bounds] owner: self userData: nil assumeInside: NO];
     164}
     165
    158166@end
Note: See TracChangeset for help on using the changeset viewer.