Skip to content

Commit 9c656cd

Browse files
author
Timothy
committed
fix: 🐛 Touch event with wrong position
1 parent 29ef7a3 commit 9c656cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/clipper-basic.vue

+1
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ export default {
154154
filter(this.isZoomElement),
155155
filter(e => e.touches.length === 1),
156156
tap(this.prevent),
157+
map(e => e.touches[0]),
157158
map(this.setDownPosition),
158159
concatMap(
159160
() =>

0 commit comments

Comments
 (0)