refact: macos, hide&show on leaving view (#8712)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
parent
3f11d9cdb6
commit
eec879a801
@ -416,6 +416,10 @@ class _RemotePageState extends State<RemotePage>
|
|||||||
}
|
}
|
||||||
|
|
||||||
void leaveView(PointerExitEvent evt) {
|
void leaveView(PointerExitEvent evt) {
|
||||||
|
if (isMacOS) {
|
||||||
|
DesktopMultiWindow.hideShow();
|
||||||
|
}
|
||||||
|
|
||||||
if (_ffi.ffiModel.keyboard) {
|
if (_ffi.ffiModel.keyboard) {
|
||||||
_ffi.inputModel.tryMoveEdgeOnExit(evt.position);
|
_ffi.inputModel.tryMoveEdgeOnExit(evt.position);
|
||||||
}
|
}
|
||||||
|
@ -335,7 +335,7 @@ packages:
|
|||||||
description:
|
description:
|
||||||
path: "."
|
path: "."
|
||||||
ref: HEAD
|
ref: HEAD
|
||||||
resolved-ref: "60773827434eefe6d01eefa814dca9a032b970b3"
|
resolved-ref: "53fee59855c44f35381428c9fb7c7678f700d11d"
|
||||||
url: "https://github.com/rustdesk-org/rustdesk_desktop_multi_window"
|
url: "https://github.com/rustdesk-org/rustdesk_desktop_multi_window"
|
||||||
source: git
|
source: git
|
||||||
version: "0.1.0"
|
version: "0.1.0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user