Skip to content

Commit

Permalink
🐛 restore state set decorations
Browse files Browse the repository at this point in the history
  • Loading branch information
tw93 committed Apr 9, 2023
1 parent cf3c160 commit 3310e96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src-tauri/src/main.rs
Expand Up @@ -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(())
})
Expand Down

0 comments on commit 3310e96

Please sign in to comment.