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:
Aparajita Fishman
2013-08-09 08:28:36 -04:00
parent fc931902d7
commit 6bec4064b5
+1 -1
View File
@@ -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];
}
/*