add three fingers vertical drag -> scroll

This commit is contained in:
csf
2022-05-12 17:30:39 +08:00
parent 1e20041057
commit 3a66d52c2d
2 changed files with 57 additions and 116 deletions

View File

@@ -541,7 +541,7 @@ class _RemotePageState extends State<RemotePage> {
_scale = 1;
FFI.setByName('peer_option', '{"name": "view-style", "value": ""}');
},
onTwoFingerVerticalDragUpdate: FFI.ffiModel.isPeerAndroid
onThreeFingerVerticalDragUpdate: FFI.ffiModel.isPeerAndroid
? null
: (d) {
FFI.scroll(d.delta.dy / 2);