fix: linux sub-window pos for double-check pos

This commit is contained in:
Kingtous 2023-02-01 14:13:53 +08:00
parent 60ff4982ca
commit bf71e38426
3 changed files with 9 additions and 0 deletions

@ -71,6 +71,9 @@ class _FileManagerTabPageState extends State<FileManagerTabPage> {
reloadCurrentWindow();
}
});
Future.delayed(Duration.zero, () {
restoreWindowPosition(WindowType.FileTransfer, windowId: windowId());
});
}
@override

@ -79,6 +79,9 @@ class _PortForwardTabPageState extends State<PortForwardTabPage> {
reloadCurrentWindow();
}
});
Future.delayed(Duration.zero, () {
restoreWindowPosition(WindowType.PortForward, windowId: windowId());
});
}
@override

@ -113,6 +113,9 @@ class _ConnectionTabPageState extends State<ConnectionTabPage> {
}
_update_remote_count();
});
Future.delayed(Duration.zero, () {
restoreWindowPosition(WindowType.RemoteDesktop, windowId: windowId());
});
}
@override