Skip to content

Commit

Permalink
fix: use a workaroud to reduce #59
Browse files Browse the repository at this point in the history
  • Loading branch information
greenhat616 committed Dec 7, 2023
1 parent 0946b3c commit 4afa67b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ fn main() -> std::io::Result<()> {
}
tauri::WindowEvent::Moved(_) | tauri::WindowEvent::Resized(_) => {
// log::info!(target: "app", "window moved or resized");
std::thread::sleep(std::time::Duration::from_nanos(1));
let _ = resolve::save_window_state(app_handle, false);
}
_ => {}
Expand Down

0 comments on commit 4afa67b

Please sign in to comment.