Improved keyboard shortcuts handling

This commit is contained in:
djmaze 2021-08-13 10:03:13 +02:00
parent 5f21fcc100
commit 2a6a1ff799
7 changed files with 58 additions and 77 deletions

View file

@ -99,9 +99,8 @@ class PluginPopupView extends AbstractViewPopup {
shortcuts.add('escape', '', Scope.All, () => {
if (this.modalVisibility()) {
this.tryToClosePopup();
return false;
}
return false;
});
}
}