From 2da26b2de26fb92fd4eea22ed1bfcafc8d672847 Mon Sep 17 00:00:00 2001 From: daboe01 Date: Sun, 15 Mar 2026 17:41:51 +0100 Subject: [PATCH] formatting --- AppKit/CPOutlineView.j | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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];