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