fix, one tap results double tap event

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou committed 2023-10-02 10:30:51 +08:00
1 parent 92213f9228
commit 863c8de28e
2 files changed
+5 -4

No files matched your search

+3 -1
View File
@@ -112,7 +112,9 @@ class _RawTouchGestureDetectorRegionState
if (lastDeviceKind != PointerDeviceKind.touch) {
return;
}
inputModel.tap(MouseButtons.left);
if (!handleTouch) {
inputModel.tap(MouseButtons.left);
}
}
onDoubleTapDown(TapDownDetails d) {