Skip to content

Commit 3310e96

Browse files
committed
🐛 restore state set decorations
1 parent cf3c160 commit 3310e96

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src-tauri/src/main.rs

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ pub fn run_app() {
5151
let _window = get_window(app, pake_config, data_dir);
5252
// Prevent initial shaking
5353
_window.restore_state(StateFlags::all()).unwrap();
54+
_window.set_decorations(true).unwrap();
5455
_window.show().unwrap();
5556
Ok(())
5657
})

0 commit comments

Comments
 (0)