Add:Support for shift selecting multiple library items #1020

This commit is contained in:
advplyr 2022-10-15 17:17:40 -05:00
parent 4cf43bc105
commit 77139c7256
7 changed files with 129 additions and 26 deletions

View file

@ -719,10 +719,10 @@ export default {
console.log('Got library itemn', libraryItem)
this.store.commit('showEReader', libraryItem)
},
selectBtnClick() {
selectBtnClick(evt) {
if (this.processingBatch) return
this.selected = !this.selected
this.$emit('select', this.libraryItem)
this.$emit('select', { entity: this.libraryItem, shiftKey: evt.shiftKey })
},
async play() {
var eventBus = this.$eventBus || this.$nuxt.$eventBus