mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
chore(ImagePreview): decrease tap offset (#10192)
This commit is contained in:
parent
b4e3c3374c
commit
6e27d02404
@ -192,7 +192,7 @@ export default defineComponent({
|
||||
const { offsetX, offsetY } = touch;
|
||||
const deltaTime = Date.now() - touchStartTime;
|
||||
const TAP_TIME = 250;
|
||||
const TAP_OFFSET = 10;
|
||||
const TAP_OFFSET = 5;
|
||||
|
||||
if (
|
||||
offsetX.value < TAP_OFFSET &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user