sel: do not block touch events

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/672/head
Varun Patil 2023-05-29 12:21:27 -07:00
parent b641d43f86
commit 5bed6503e2
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ export default defineComponent({
clickPhoto(photo: IPhoto, event: PointerEvent, rowIdx: number) {
if (photo.flag & this.c.FLAG_PLACEHOLDER) return;
if (event.pointerType === 'touch') return; // let touch events handle this
if (event.button !== 0) return; // only left click
if (event.pointerType === 'mouse' && event.button !== 0) return; // only left click for mouse
if (this.has()) {
if (event.shiftKey) {