Close devtools completely instead of hiding it.
Fixes https://github.com/atom/atom/issues/1764.
This commit is contained in:
parent
eb1675a90f
commit
f4b648385c
2 changed files with 2 additions and 2 deletions
|
@ -208,7 +208,7 @@ void NativeWindow::CloseDevTools() {
|
||||||
if (devtools_window_)
|
if (devtools_window_)
|
||||||
devtools_window_->Close();
|
devtools_window_->Close();
|
||||||
else
|
else
|
||||||
inspectable_web_contents()->GetView()->CloseDevTools();
|
inspectable_web_contents()->CloseDevTools();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool NativeWindow::IsDevToolsOpened() {
|
bool NativeWindow::IsDevToolsOpened() {
|
||||||
|
|
2
vendor/brightray
vendored
2
vendor/brightray
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit 1a8afaa87129527f2c41570ee563abb507f2337a
|
Subproject commit 794cc6b6a6d269eacce0bbaf930d10f642e7a907
|
Loading…
Add table
Add a link
Reference in a new issue