mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 04:57:03 +00:00
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 6544aff88e.
This commit is contained in:
@@ -597,9 +597,7 @@ var CPViewHighDPIDrawingEnabled = YES;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Notify the subview that it will be moving.
|
// Notify the subview that it will be moving.
|
||||||
#if PLATFORM(DOM)
|
|
||||||
[aSubview viewWillMoveToSuperview:self];
|
[aSubview viewWillMoveToSuperview:self];
|
||||||
#endif
|
|
||||||
|
|
||||||
// We will have to adjust the z-index of all views starting at this index.
|
// We will have to adjust the z-index of all views starting at this index.
|
||||||
var count = _subviews.length,
|
var count = _subviews.length,
|
||||||
@@ -665,9 +663,7 @@ var CPViewHighDPIDrawingEnabled = YES;
|
|||||||
[aSubview setNextResponder:self];
|
[aSubview setNextResponder:self];
|
||||||
[aSubview _scaleSizeUnitSquareToSize:[self _hierarchyScaleSize]];
|
[aSubview _scaleSizeUnitSquareToSize:[self _hierarchyScaleSize]];
|
||||||
|
|
||||||
#if PLATFORM(DOM)
|
|
||||||
[aSubview viewDidMoveToSuperview];
|
[aSubview viewDidMoveToSuperview];
|
||||||
#endif
|
|
||||||
|
|
||||||
// Set the subview's window to our own.
|
// Set the subview's window to our own.
|
||||||
if (_window)
|
if (_window)
|
||||||
|
|||||||
Reference in New Issue
Block a user