mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-06 06:11:27 +03:00
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user