We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5eeb17a commit c47c37bCopy full SHA for c47c37b
src/browser/extension/background/index.js
@@ -1,4 +1,5 @@
1
import createDevStore from '../../../app/store/createDevStore.js';
2
+import openDevToolsWindow from './openWindow';
3
import createMenu from './contextMenus';
4
import { toContentScript } from './messaging';
5
@@ -9,3 +10,9 @@ const store = createDevStore((action) => {
9
10
createMenu();
11
12
window.store = store;
13
+
14
+chrome.commands.onCommand.addListener(shortcut => {
15
+ if (store.liftedStore.isSet()) {
16
+ openDevToolsWindow(shortcut);
17
+ }
18
+});
0 commit comments