mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-23 16:48:53 +00:00
Make -center on a bridge window into a no-op.
This commit is contained in:
1 parent
b65041a780
commit
3070634aab
1 file changed
+3
@@ -1362,6 +1362,9 @@ CPTexturedBackgroundWindowMask
|
||||
*/
|
||||
- (void)center
|
||||
{
|
||||
if (_isFullPlatformWindow)
|
||||
return;
|
||||
|
||||
var size = [self frame].size,
|
||||
containerSize = [CPPlatform isBrowser] ? [_platformWindow contentBounds].size : [[self screen] visibleFrame].size;
|
||||
|
||||
|
||||
Reference in new issue
Block a user