fix: linux sub-window pos for double-check pos
This commit is contained in:
parent
60ff4982ca
commit
bf71e38426
flutter/lib/desktop/pages
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user