fix: mobile -> mobile, long press (#9775)

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou
2024-10-29 19:57:29 +08:00
committed by GitHub
parent 1c9b456456
commit a289eae07c
2 changed files with 4 additions and 1 deletions

View File

@@ -185,7 +185,9 @@ class _RawTouchGestureDetectorRegionState
ffi.cursorModel
.move(_cacheLongPressPosition.dx, _cacheLongPressPosition.dy);
}
inputModel.tap(MouseButtons.right);
if (!ffi.ffiModel.isPeerMobile) {
inputModel.tap(MouseButtons.right);
}
}
onDoubleFinerTapDown(TapDownDetails d) {