mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 05:29:20 +03:00
Improved keyboard shortcuts handling
This commit is contained in:
parent
5f21fcc100
commit
2a6a1ff799
7 changed files with 58 additions and 77 deletions
|
|
@ -2,9 +2,10 @@ import { Scope } from 'Common/Enums';
|
|||
|
||||
import { AbstractViewPopup } from 'Knoin/AbstractViews';
|
||||
|
||||
class KeyboardShortcutsHelpPopupView extends AbstractViewPopup {
|
||||
export class KeyboardShortcutsHelpPopupView extends AbstractViewPopup {
|
||||
constructor() {
|
||||
super('KeyboardShortcutsHelp');
|
||||
this.metaKey = shortcuts.getMetaKey();
|
||||
}
|
||||
|
||||
onBuild(dom) {
|
||||
|
|
@ -49,5 +50,3 @@ class KeyboardShortcutsHelpPopupView extends AbstractViewPopup {
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
export { KeyboardShortcutsHelpPopupView, KeyboardShortcutsHelpPopupView as default };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue