From 3a6f94503cb8233a569cece096f8ea2126e73589 Mon Sep 17 00:00:00 2001 From: fufesou Date: Mon, 13 Mar 2023 21:05:41 +0800 Subject: [PATCH] trivial changes Signed-off-by: fufesou --- flutter/lib/desktop/pages/remote_page.dart | 2 +- flutter/lib/models/input_model.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flutter/lib/desktop/pages/remote_page.dart b/flutter/lib/desktop/pages/remote_page.dart index 03074efc3..2099f2e95 100644 --- a/flutter/lib/desktop/pages/remote_page.dart +++ b/flutter/lib/desktop/pages/remote_page.dart @@ -309,7 +309,7 @@ class _RemotePageState extends State void leaveView(PointerExitEvent evt) { if (_ffi.ffiModel.keyboard()) { - _ffi.inputModel.tryHoverEdgeOnExit(evt.position); + _ffi.inputModel.tryMoveEdgeOnExit(evt.position); } _cursorOverImage.value = false; diff --git a/flutter/lib/models/input_model.dart b/flutter/lib/models/input_model.dart index f09bc3d60..21bbb9a39 100644 --- a/flutter/lib/models/input_model.dart +++ b/flutter/lib/models/input_model.dart @@ -419,7 +419,7 @@ class InputModel { 'type': _kMouseEventMove, }); - void tryHoverEdgeOnExit(Offset pos) => handleMouse( + void tryMoveEdgeOnExit(Offset pos) => handleMouse( { 'x': pos.dx, 'y': pos.dy,