From 96e3d9496d5b85449aa481da1d3b25a60ce66179 Mon Sep 17 00:00:00 2001 From: dignow Date: Thu, 10 Aug 2023 09:29:07 +0800 Subject: [PATCH] fix, desktop touchscreen support long press Signed-off-by: dignow --- flutter/lib/common/widgets/remote_input.dart | 3 --- 1 file changed, 3 deletions(-) diff --git a/flutter/lib/common/widgets/remote_input.dart b/flutter/lib/common/widgets/remote_input.dart index bed4dee8a..35eaf8a7c 100644 --- a/flutter/lib/common/widgets/remote_input.dart +++ b/flutter/lib/common/widgets/remote_input.dart @@ -157,9 +157,6 @@ class _RawTouchGestureDetectorRegionState if (lastDeviceKind != PointerDeviceKind.touch) { return; } - if (isDesktop) { - return; - } if (handleTouch) { ffi.cursorModel .move(_cacheLongPressPosition.dx, _cacheLongPressPosition.dy);