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