Tweak some animations, clean up for preparation to move to app delegate.
[enjoyable.git] / Classes / NJDeviceViewController.m
index dfb2dca..f9ff141 100644 (file)
@@ -50,7 +50,7 @@
     [self.inputsTree beginUpdates];
     [self.inputsTree insertItemsAtIndexes:[[NSIndexSet alloc] initWithIndex:idx]
                                   inParent:nil
-                             withAnimation:NSTableViewAnimationSlideLeft];
+                             withAnimation:NSTableViewAnimationEffectFade];
     [self reexpandAll];
     [self.inputsTree endUpdates];
     self.noDevicesNotice.hidden = YES;
@@ -61,7 +61,7 @@
     [self.inputsTree beginUpdates];
     [self.inputsTree removeItemsAtIndexes:[[NSIndexSet alloc] initWithIndex:idx]
                                   inParent:nil
-                             withAnimation:NSTableViewAnimationSlideLeft];
+                             withAnimation:NSTableViewAnimationEffectFade];
     [self.inputsTree endUpdates];
     self.noDevicesNotice.hidden = anyDevices || !self.hidStoppedNotice.isHidden;
 }