Quick bar keyboard shortcut international support (#12892)

This commit is contained in:
Yosi Levy 2022-06-07 18:07:22 +03:00 committed by GitHub
parent 2fdd50f45f
commit e386942ea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,9 +48,9 @@ export default <T extends Constructor<HassElement>>(superClass: T) =>
private _registerShortcut() {
tinykeys(window, {
e: (ev) => this._showQuickBar(ev),
c: (ev) => this._showQuickBar(ev, true),
m: (ev) => this._createMyLink(ev),
KeyE: (ev) => this._showQuickBar(ev),
KeyC: (ev) => this._showQuickBar(ev, true),
KeyM: (ev) => this._createMyLink(ev),
});
}