trivial changes
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
28aecbb9e9
commit
3a6f94503c
@ -309,7 +309,7 @@ class _RemotePageState extends State<RemotePage>
|
|||||||
|
|
||||||
void leaveView(PointerExitEvent evt) {
|
void leaveView(PointerExitEvent evt) {
|
||||||
if (_ffi.ffiModel.keyboard()) {
|
if (_ffi.ffiModel.keyboard()) {
|
||||||
_ffi.inputModel.tryHoverEdgeOnExit(evt.position);
|
_ffi.inputModel.tryMoveEdgeOnExit(evt.position);
|
||||||
}
|
}
|
||||||
|
|
||||||
_cursorOverImage.value = false;
|
_cursorOverImage.value = false;
|
||||||
|
@ -419,7 +419,7 @@ class InputModel {
|
|||||||
'type': _kMouseEventMove,
|
'type': _kMouseEventMove,
|
||||||
});
|
});
|
||||||
|
|
||||||
void tryHoverEdgeOnExit(Offset pos) => handleMouse(
|
void tryMoveEdgeOnExit(Offset pos) => handleMouse(
|
||||||
{
|
{
|
||||||
'x': pos.dx,
|
'x': pos.dx,
|
||||||
'y': pos.dy,
|
'y': pos.dy,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user