mirror of
https://github.com/gotson/komga.git
synced 2025-12-20 07:23:34 +01:00
fix(webreader): ignore key presses with modifiers
This commit is contained in:
parent
3cdd1e6177
commit
7898190ac4
1 changed files with 1 additions and 0 deletions
|
|
@ -625,6 +625,7 @@ export default Vue.extend({
|
|||
else this.fullscreenIcon = 'mdi-fullscreen'
|
||||
},
|
||||
keyPressed(e: KeyboardEvent) {
|
||||
if(e.ctrlKey || e.altKey || e.shiftKey || e.metaKey) return
|
||||
this.shortcuts[e.key]?.execute(this)
|
||||
},
|
||||
async setup(bookId: string, page?: number) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue