ProjectVisBug
ProjectVisBug copied to clipboard
Show/Hide Shortcut not surfaced in Chrome
By default, one can Alt + Shift + D to show/hide VisBug. This shortcut can be been be seen while hovering over the extension icon (i.e. the tooltip).
However, when using Google Chrome and modifying the shortcut via chrome://extensions/shortcuts
the tooltip doesn't update to reflect the current shortcut.
It's a little thing—I'm not even sure if it's possible to fix in this project. ❤️
oh interesting! let me forward this on to some folks 👍🏻
Yeah, you can use chrome.commands.getAll()
(MDN) to retireve an array of commands that the extension has registered. If there's a collision with a command's shortcut, the shortcut
property for that command will be an empty string.