Fixing hotkeys issues
This commit is contained in:
1 parent
f4e76d9544
commit
68f7626515
2 files changed
+15
-9
No files matched your search
@@ -34,6 +34,7 @@ export class HotkeysContext {
|
||||
const bind = hotkey => $(document).bind(bindingKey, hotkey, event => {
|
||||
if (!this.enabled.get()) return;
|
||||
OHIF.commands.run(command);
|
||||
event.preventDefault();
|
||||
});
|
||||
|
||||
if (hotkey instanceof Array) {
|
||||
|
||||
Reference in new issue
Block a user