Make -center on a bridge window into a no-op.

This commit is contained in:
Nicholas Small
2010-07-28 18:06:08 -04:00
parent b65041a780
commit 3070634aab
+3
View File
@@ -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;