mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Close devtools completely instead of hiding it.
Fixes https://github.com/atom/atom/issues/1764.
This commit is contained in:
@@ -208,7 +208,7 @@ void NativeWindow::CloseDevTools() {
|
||||
if (devtools_window_)
|
||||
devtools_window_->Close();
|
||||
else
|
||||
inspectable_web_contents()->GetView()->CloseDevTools();
|
||||
inspectable_web_contents()->CloseDevTools();
|
||||
}
|
||||
|
||||
bool NativeWindow::IsDevToolsOpened() {
|
||||
|
||||
2
vendor/brightray
vendored
2
vendor/brightray
vendored
Submodule vendor/brightray updated: 1a8afaa871...794cc6b6a6
Reference in New Issue
Block a user