Merge pull request #3204 from daboe01/fixed-outlineview-animation-race-condition

fixed: racecondition in row expansion animation
This commit is contained in:
daboe01 authored and GitHub committed 2026-03-15 17:08:49 +01:00
commit 6f55c7bbba
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 = [];