diff --git a/AppKit/CPOutlineView.j b/AppKit/CPOutlineView.j index 20e5cf3ae..2145a7d3d 100644 --- a/AppKit/CPOutlineView.j +++ b/AppKit/CPOutlineView.j @@ -864,7 +864,7 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff = 0, - (void)_animateCollapseFromIndex:(CPInteger)parentIndex removedCount:(CPInteger)removedCount ghosts:(CPArray)ghosts { - // FIX 2: Ensure we don't animate if parent is invalid + // Ensure we don't animate if parent is invalid if (parentIndex < 0) return; @@ -998,7 +998,8 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff = 0, - (void)_animateExpandFromIndex:(CPInteger)parentIndex addedCount:(CPInteger)addedCount { - if (_rowsAnimation && [_rowsAnimation isAnimating])[_rowsAnimation stopAnimation]; + if (_rowsAnimation && [_rowsAnimation isAnimating]) + [_rowsAnimation stopAnimation]; var viewAnimations = []; var columns = [self tableColumns];