refact: macos, hide&show on leaving view (#8712)

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou
2024-07-15 10:50:54 +08:00
committed by GitHub
parent 3f11d9cdb6
commit eec879a801
2 changed files with 5 additions and 1 deletions

View File

@@ -416,6 +416,10 @@ class _RemotePageState extends State<RemotePage>
}
void leaveView(PointerExitEvent evt) {
if (isMacOS) {
DesktopMultiWindow.hideShow();
}
if (_ffi.ffiModel.keyboard) {
_ffi.inputModel.tryMoveEdgeOnExit(evt.position);
}