diff --git a/.gitignore b/.gitignore index c87cd2f..3e25cf7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ package-lock.json +yarn.lock node_modules/ .yarn/* diff --git a/src-tauri/src/app/menu.rs b/src-tauri/src/app/menu.rs index 99a16cb..c5b3645 100644 --- a/src-tauri/src/app/menu.rs +++ b/src-tauri/src/app/menu.rs @@ -464,7 +464,7 @@ pub fn tray_handler(handle: &AppHandle, event: SystemTrayEvent) { } if let Some(tray_win) = handle.get_window("tray") { - tray_win.move_window(Position::TrayFixedCenter).unwrap(); + tray_win.move_window(Position::TrayCenter).unwrap(); if tray_win.is_visible().unwrap() { tray_win.hide().unwrap();