mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-06-22 10:02:20 +00:00
fix(ipad): keep touch gestures with external mouse
Signed-off-by: Rafal <mrsikorarafal@gmail.com>
This commit is contained in:
parent
d01ce3173f
commit
9ee100b53e
1 changed files with 9 additions and 6 deletions
|
|
@ -426,12 +426,15 @@ class _RemotePageState extends State<RemotePage> with WidgetsBindingObserver {
|
|||
}
|
||||
return Container(
|
||||
color: MyTheme.canvasColor,
|
||||
child: inputModel.isPhysicalMouse.value
|
||||
? getBodyForMobile()
|
||||
: RawTouchGestureDetectorRegion(
|
||||
child: getBodyForMobile(),
|
||||
ffi: gFFI,
|
||||
),
|
||||
child: RawTouchGestureDetectorRegion(
|
||||
// Keep touch gestures available even after an
|
||||
// external mouse or trackpad is detected on
|
||||
// iPad. Pointer input still flows through the
|
||||
// session body listener, while this wrapper
|
||||
// preserves pinch / pan touch gestures.
|
||||
child: getBodyForMobile(),
|
||||
ffi: gFFI,
|
||||
),
|
||||
);
|
||||
}),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue