From 8cc850b66eb2e56dbcab017811e50236a6636868 Mon Sep 17 00:00:00 2001 From: jhen Date: Sat, 22 Jul 2023 10:21:55 +0800 Subject: [PATCH] Fix devtools left toolbar not removed --- electron/devtools.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron/devtools.js b/electron/devtools.js index f6dcd0e1..bffec192 100644 --- a/electron/devtools.js +++ b/electron/devtools.js @@ -51,7 +51,7 @@ export const removeUnecessaryTabs = win => { tabbedPane.closeTab('audits2'); tabbedPane.closeTab('lighthouse'); - tabbedPane._leftToolbar._contentElement.remove(); + tabbedPane.leftToolbar().element.remove(); } })()`); }