fixed: wrong code

This commit is contained in:
daboe01
2025-06-22 22:55:41 +02:00
parent 2eb1d1bfb9
commit 14d9bb795d
+5 -1
View File
@@ -1730,7 +1730,11 @@ var CPViewHighDPIDrawingEnabled = YES;
_superview = aSuperview;
// Notifications are now posted manually from _insertSubview and _removeFromSuperview
if (hasOldSuperview)
[self _postViewDidDisappearNotification];
if (hasNewSuperview)
[self _postViewDidAppearNotification];
}
- (void)_recursiveLostHiddenAncestor