mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-14 18:53:50 +00:00
Fixed: nib2cib: checks if there's a defined superview in resizeWithOldSuperviewSize (#2995)
This commit is contained in:
1 parent
b66690e304
commit
37756a5853
1 file changed
+1
-1
+1
-1
@@ -1479,7 +1479,7 @@ var CPViewHighDPIDrawingEnabled = YES;
|
||||
{
|
||||
var mask = [self autoresizingMask];
|
||||
|
||||
if (mask === CPViewNotSizable)
|
||||
if ((mask === CPViewNotSizable) || !_superview)
|
||||
return;
|
||||
|
||||
var frame = _superview._frame,
|
||||
|
||||
Reference in new issue
Block a user