mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-04 16:12:58 +00:00
Fixed: window width was not constrained when platform window was resized.
Previously window heights were constrained to the usable screen when the platform window (virtual screen) resized, but widths were not. The code was there to constrain the width, but it wasn't being used. This commit ensures the width constraining code is executed.
This commit is contained in:
1 parent
fc931902d7
commit
6bec4064b5
1 file changed
+1
-1
@@ -3319,7 +3319,7 @@ var keyViewComparator = function(lhs, rhs, context)
|
||||
if (_autoresizingMask & CPWindowHeightSizable)
|
||||
newFrame.size.height += dY;
|
||||
|
||||
[self setFrame:newFrame];
|
||||
[self _setFrame:newFrame display:YES animate:NO constrainWidth:YES constrainHeight:YES];
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user