trivial change

Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
dignow 2023-06-28 23:06:01 +08:00
parent 8deaf8807b
commit 99a825850c

View File

@ -335,7 +335,7 @@ class InputModel {
// https://docs.flutter.dev/release/breaking-changes/trackpad-gestures
// TODO(support zoom in/out)
void onPointerPanZoomUpdate(PointerPanZoomUpdateEvent e) {
var delta = e.panDelta;
final delta = e.panDelta;
_trackpadLastDelta = delta;
var x = delta.dx.toInt();