fixed: racecondition in row expansion animation

This commit is contained in:
daboe01 committed 2026-03-15 17:08:21 +01:00
1 parent 3e4ebe8e47
commit ea4adf1039
1 file changed
+7
+7
View File
@@ -786,6 +786,13 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff = 0,
*/
- (void)reloadItem:(id)anItem reloadChildren:(BOOL)shouldReloadChildren
{
if (_rowsAnimation && [_rowsAnimation isAnimating])
{
[_rowsAnimation stopAnimation];
[self animationDidEnd:_rowsAnimation];
}
_pendingItemToClean = [];
_itemAddedDuringLastLoading = [];