mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-24 19:30:42 +00:00
Make -center on a bridge window into a no-op.
This commit is contained in:
@@ -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