зеркало из https://github.com/mozilla/pjs.git
Bug 562138 - Make all NSWindow's transparent by default, to prevent unwanted flashing of the background window while creating popup windows caused by synchronous painting of NSWindow's; r=josh
This commit is contained in:
Родитель
3f92f349a4
Коммит
b96a30a8a6
|
@ -429,7 +429,8 @@ nsresult nsCocoaWindow::CreateNativeWindow(const NSRect &aRect,
|
|||
[mWindow setHasShadow:YES];
|
||||
}
|
||||
|
||||
[mWindow setBackgroundColor:[NSColor whiteColor]];
|
||||
[mWindow setBackgroundColor:[NSColor clearColor]];
|
||||
[mWindow setOpaque:NO];
|
||||
[mWindow setContentMinSize:NSMakeSize(60, 60)];
|
||||
[mWindow disableCursorRects];
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче