fixed: race condition during unfolding animation

This commit is contained in:
daboe01 committed 2026-03-15 17:44:51 +01:00
1 parent fd745d37a9
commit fa077e4fc7
1 file changed
+5
+5
View File
@@ -1132,6 +1132,11 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff = 0,
*/
- (void)reloadItem:(id)anItem reloadChildren:(BOOL)shouldReloadChildren
{
if (_rowsAnimation && [_rowsAnimation isAnimating])
{
[_rowsAnimation stopAnimation];
[self animationDidEnd:_rowsAnimation];
}
_pendingItemToClean = [];
_itemAddedDuringLastLoading = [];