Skip to content

Commit

Permalink
Revert "Fixed: Before this PR, nib2cib failed if a color well or a sc…
Browse files Browse the repository at this point in the history
…rollable text view was added in a CPBox (#2994)"

This reverts commit 6544aff.
  • Loading branch information
mrcarlberg committed Mar 21, 2022
1 parent 48e786e commit 3e83bd2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions AppKit/CPView.j
Expand Up @@ -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,
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 3e83bd2

Please sign in to comment.