Changeset 732 for trunk


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.

Location:
trunk/macosx
Files:
2 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}
  • trunk/macosx/Controller.m

    r729 r732  
    16681668    if (!show)
    16691669        [fStatusBar setHidden: YES];
    1670    
    1671     //reset tracking rects for filter buttons
    1672     [fNoFilterButton resetBounds: nil];
    1673     [fSeedFilterButton resetBounds: nil];
    1674     [fDownloadFilterButton resetBounds: nil];
    1675     [fPauseFilterButton resetBounds: nil];
    16761670}
    16771671
     
    17271721        [fWindow makeFirstResponder: fTableView];
    17281722    }
    1729    
    1730     //reset tracking rects for filter buttons
    1731     [fNoFilterButton resetBounds: nil];
    1732     [fSeedFilterButton resetBounds: nil];
    1733     [fDownloadFilterButton resetBounds: nil];
    1734     [fPauseFilterButton resetBounds: nil];
    17351723}
    17361724
Note: See TracChangeset for help on using the changeset viewer.