mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 05:48:26 +00:00
make popup windows slightly transparent in Cocoa widgets. b=351656
This commit is contained in:
parent
4e6621f679
commit
42d7142b7b
@ -354,6 +354,7 @@ nsresult nsCocoaWindow::StandardCreate(nsIWidget *aParent,
|
||||
backing:NSBackingStoreBuffered defer:NO];
|
||||
|
||||
if (mWindowType == eWindowType_popup) {
|
||||
[mWindow setAlphaValue:0.95];
|
||||
[mWindow setLevel:NSPopUpMenuWindowLevel];
|
||||
[mWindow setHasShadow:YES];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user