Changeset 13134


Ignore:
Timestamp:
Jan 7, 2012, 4:18:56 PM (10 years ago)
Author:
livings124
Message:

when showing/hiding group rows, fade them in/out instead of sliding them left

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r13133 r13134  
    23592359                           
    23602360                            if (onLion)
    2361                                 [fTableView insertItemsAtIndexes: [NSIndexSet indexSetWithIndex: [fDisplayedTorrents count]-1] inParent: nil withAnimation: NSTableViewAnimationSlideLeft];
     2361                                [fTableView insertItemsAtIndexes: [NSIndexSet indexSetWithIndex: [fDisplayedTorrents count]-1] inParent: nil withAnimation: NSTableViewAnimationEffectFade];
    23622362                        }
    23632363                        else //if we haven't processed the other group yet, we have to make sure we don't flag it for removal the next time
     
    24022402               
    24032403                if (onLion)
    2404                     [fTableView insertItemsAtIndexes: [NSIndexSet indexSetWithIndex: [fDisplayedTorrents count]-1] inParent: nil withAnimation: NSTableViewAnimationSlideLeft];
     2404                    [fTableView insertItemsAtIndexes: [NSIndexSet indexSetWithIndex: [fDisplayedTorrents count]-1] inParent: nil withAnimation: NSTableViewAnimationEffectFade];
    24052405            }
    24062406           
     
    24232423            [fDisplayedTorrents removeObjectsAtIndexes: removeIndexes];
    24242424            if (onLion)
    2425                 [fTableView removeItemsAtIndexes: removeIndexes inParent: nil withAnimation: NSTableViewAnimationSlideLeft];
     2425                [fTableView removeItemsAtIndexes: removeIndexes inParent: nil withAnimation: NSTableViewAnimationEffectFade];
    24262426        }
    24272427       
Note: See TracChangeset for help on using the changeset viewer.