🐛 restore state set decorations

This commit is contained in:
Tw93
2023-04-09 08:17:26 +08:00
parent e2c9d8dee1
commit e0f159f255

View File

@@ -51,6 +51,7 @@ pub fn run_app() {
let _window = get_window(app, pake_config, data_dir);
// Prevent initial shaking
_window.restore_state(StateFlags::all()).unwrap();
_window.set_decorations(true).unwrap();
_window.show().unwrap();
Ok(())
})