mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-04 23:19:42 +00:00
Add Alt+Q shortcut for Match / Quick Match
This commit is contained in:
parent
2f8a3c9fc7
commit
9c0bb3162f
3 changed files with 14 additions and 0 deletions
|
|
@ -574,6 +574,13 @@ export default {
|
|||
} else if (this.isItemPage) {
|
||||
this.$eventBus.$emit('item_shortcut_reset')
|
||||
}
|
||||
} else if (alt && e.key.toLowerCase() === 'q') {
|
||||
e.preventDefault()
|
||||
if (this.numMediaItemsSelected > 0) {
|
||||
this.batchAutoMatchClick()
|
||||
} else if (this.isItemPage) {
|
||||
this.$eventBus.$emit('item_shortcut_match')
|
||||
}
|
||||
} else if (alt && this.currentLibrary?.id) {
|
||||
const libId = this.currentLibrary.id
|
||||
if (e.key.toLowerCase() === 'h') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue