fix, macos, remote fullscreen state, debug
Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
parent
5293e3b277
commit
296ebd0341
@ -112,10 +112,7 @@ class _ConnectionTabPageState extends State<ConnectionTabPage> {
|
|||||||
windowOnTop(windowId());
|
windowOnTop(windowId());
|
||||||
if (tabController.length == 0) {
|
if (tabController.length == 0) {
|
||||||
if (Platform.isMacOS && stateGlobal.closeOnFullscreen) {
|
if (Platform.isMacOS && stateGlobal.closeOnFullscreen) {
|
||||||
Timer(
|
stateGlobal.setFullscreen(true);
|
||||||
Duration(milliseconds: 300),
|
|
||||||
() async => await WindowController.fromWindowId(windowId())
|
|
||||||
.setFullscreen(true));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ConnectionTypeState.init(id);
|
ConnectionTypeState.init(id);
|
||||||
|
@ -591,7 +591,7 @@ class WindowActionPanelState extends State<WindowActionPanel>
|
|||||||
if (!await checkFullscreen() || _macOSCheckRestoreCounter >= 30) {
|
if (!await checkFullscreen() || _macOSCheckRestoreCounter >= 30) {
|
||||||
_macOSCheckRestoreTimer?.cancel();
|
_macOSCheckRestoreTimer?.cancel();
|
||||||
_macOSCheckRestoreTimer = null;
|
_macOSCheckRestoreTimer = null;
|
||||||
Timer(Duration(milliseconds: 500), () async => await closeFunc());
|
Timer(Duration(milliseconds: 700), () async => await closeFunc());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user