Changeset 12717


Ignore:
Timestamp:
Aug 24, 2011, 3:01:51 AM (10 years ago)
Author:
livings124
Message:

animate toggling minimal view (on Lion)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r12711 r12717  
    27842784    [fTableView setRowHeight: makeSmall ? ROW_HEIGHT_SMALL : ROW_HEIGHT_REGULAR];
    27852785   
     2786    if ([NSApp isOnLionOrBetter])
     2787        [fTableView beginUpdates];
    27862788    [fTableView noteHeightOfRowsWithIndexesChanged: [NSIndexSet indexSetWithIndexesInRange: NSMakeRange(0, [fTableView numberOfRows])]];
     2789    if ([NSApp isOnLionOrBetter])
     2790        [fTableView endUpdates];
    27872791   
    27882792    //resize for larger min height if not set to auto size
Note: See TracChangeset for help on using the changeset viewer.