mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
set devtools window to visible to avoid a visual glitch on mac with osr window's devtools
This commit is contained in:
committed by
Cheng Zhao
parent
13b86598e8
commit
5373afa472
@@ -93,7 +93,9 @@
|
||||
} else {
|
||||
if (visible) {
|
||||
[devtools_window_ makeKeyAndOrderFront:nil];
|
||||
[devtools_window_ setIsVisible:YES];
|
||||
} else {
|
||||
[devtools_window_ setIsVisible:NO];
|
||||
[devtools_window_ setDelegate:nil];
|
||||
[devtools_window_ close];
|
||||
devtools_window_.reset();
|
||||
|
||||
Reference in New Issue
Block a user