sel: do not block touch events
Signed-off-by: Varun Patil <radialapps@gmail.com>pull/672/head
parent
b641d43f86
commit
5bed6503e2
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue