From 3e83bd23630d8bdae06751b374d80debcaccf864 Mon Sep 17 00:00:00 2001 From: Martin Carlberg Date: Mon, 21 Mar 2022 16:25:24 +0100 Subject: [PATCH] Revert "Fixed: Before this PR, nib2cib failed if a color well or a scrollable text view was added in a CPBox (#2994)" This reverts commit 6544aff88e35d7dd513f48e096e174fd24f073bc. --- AppKit/CPView.j | 4 ---- 1 file changed, 4 deletions(-) diff --git a/AppKit/CPView.j b/AppKit/CPView.j index eeceea8ad..9c4eaef0c 100644 --- a/AppKit/CPView.j +++ b/AppKit/CPView.j @@ -597,9 +597,7 @@ var CPViewHighDPIDrawingEnabled = YES; #endif // Notify the subview that it will be moving. -#if PLATFORM(DOM) [aSubview viewWillMoveToSuperview:self]; -#endif // We will have to adjust the z-index of all views starting at this index. var count = _subviews.length, @@ -665,9 +663,7 @@ var CPViewHighDPIDrawingEnabled = YES; [aSubview setNextResponder:self]; [aSubview _scaleSizeUnitSquareToSize:[self _hierarchyScaleSize]]; -#if PLATFORM(DOM) [aSubview viewDidMoveToSuperview]; -#endif // Set the subview's window to our own. if (_window)