mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-13 03:28:03 +00:00
fix: mobile -> mobile, long press (#9775)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -185,7 +185,9 @@ class _RawTouchGestureDetectorRegionState
|
|||||||
ffi.cursorModel
|
ffi.cursorModel
|
||||||
.move(_cacheLongPressPosition.dx, _cacheLongPressPosition.dy);
|
.move(_cacheLongPressPosition.dx, _cacheLongPressPosition.dy);
|
||||||
}
|
}
|
||||||
inputModel.tap(MouseButtons.right);
|
if (!ffi.ffiModel.isPeerMobile) {
|
||||||
|
inputModel.tap(MouseButtons.right);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
onDoubleFinerTapDown(TapDownDetails d) {
|
onDoubleFinerTapDown(TapDownDetails d) {
|
||||||
|
|||||||
@@ -142,6 +142,7 @@ class FfiModel with ChangeNotifier {
|
|||||||
bool get touchMode => _touchMode;
|
bool get touchMode => _touchMode;
|
||||||
|
|
||||||
bool get isPeerAndroid => _pi.platform == kPeerPlatformAndroid;
|
bool get isPeerAndroid => _pi.platform == kPeerPlatformAndroid;
|
||||||
|
bool get isPeerMobile => isPeerAndroid;
|
||||||
|
|
||||||
bool get viewOnly => _viewOnly;
|
bool get viewOnly => _viewOnly;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user