🐛 restore state set decorations
This commit is contained in:
@@ -51,6 +51,7 @@ pub fn run_app() {
|
|||||||
let _window = get_window(app, pake_config, data_dir);
|
let _window = get_window(app, pake_config, data_dir);
|
||||||
// Prevent initial shaking
|
// Prevent initial shaking
|
||||||
_window.restore_state(StateFlags::all()).unwrap();
|
_window.restore_state(StateFlags::all()).unwrap();
|
||||||
|
_window.set_decorations(true).unwrap();
|
||||||
_window.show().unwrap();
|
_window.show().unwrap();
|
||||||
Ok(())
|
Ok(())
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user