forked from mirrors/gecko-dev
Bug 1869853 - Reversed window transparency logic r=emilio
One-liner to fix the accidental omission of the "not" sign in window transparency logic. Differential Revision: https://phabricator.services.mozilla.com/D196329
This commit is contained in:
parent
fe11f40ca0
commit
0b3eb819d6
1 changed files with 1 additions and 1 deletions
|
|
@ -1236,7 +1236,7 @@ void nsCocoaWindow::SetTransparencyMode(TransparencyMode aMode) {
|
|||
}
|
||||
|
||||
BOOL isTransparent = aMode == TransparencyMode::Transparent;
|
||||
BOOL currentTransparency = mWindow.isOpaque;
|
||||
BOOL currentTransparency = !mWindow.isOpaque;
|
||||
if (isTransparent == currentTransparency) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue