trivial changes

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2023-03-13 21:05:41 +08:00
parent 28aecbb9e9
commit 3a6f94503c
2 changed files with 2 additions and 2 deletions

View File

@ -309,7 +309,7 @@ class _RemotePageState extends State<RemotePage>
void leaveView(PointerExitEvent evt) {
if (_ffi.ffiModel.keyboard()) {
_ffi.inputModel.tryHoverEdgeOnExit(evt.position);
_ffi.inputModel.tryMoveEdgeOnExit(evt.position);
}
_cursorOverImage.value = false;

View File

@ -419,7 +419,7 @@ class InputModel {
'type': _kMouseEventMove,
});
void tryHoverEdgeOnExit(Offset pos) => handleMouse(
void tryMoveEdgeOnExit(Offset pos) => handleMouse(
{
'x': pos.dx,
'y': pos.dy,