Changeset 587


Ignore:
Timestamp:
Jul 15, 2006, 7:38:32 PM (16 years ago)
Author:
livings124
Message:

A little less buggy filter buttons (but not bug-free).

Location:
trunk/macosx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/BarButton.h

    r586 r587  
    3838- (void) setEnabled: (BOOL) enable;
    3939
     40- (void) resetBounds: (NSNotification *) notification;
     41
    4042@end
  • trunk/macosx/BarButton.m

    r586 r587  
    163163{
    164164    [self removeTrackingRect: fTrackingTag];
    165     [self addTrackingRect: [self bounds] owner: self userData: nil assumeInside: NO];
     165    fTrackingTag = [self addTrackingRect: [self bounds] owner: self userData: nil assumeInside: NO];
    166166}
    167167
  • trunk/macosx/Controller.m

    r578 r587  
    15231523    minSize.height += heightChange;
    15241524    [fWindow setContentMinSize: minSize];
     1525   
     1526    //reset tracking rects for filter buttons
     1527    [fNoFilterButton resetBounds: nil];
     1528    [fSeedFilterButton resetBounds: nil];
     1529    [fDownloadFilterButton resetBounds: nil];
     1530    [fPauseFilterButton resetBounds: nil];
    15251531}
    15261532
Note: See TracChangeset for help on using the changeset viewer.