diff --git a/.gitignore b/.gitignore index c87cd2f65..3e25cf7ea 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ package-lock.json +yarn.lock node_modules/ .yarn/* diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 000000000..56976b9a7 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +.nvmrc \ No newline at end of file diff --git a/src-tauri/src/app/menu.rs b/src-tauri/src/app/menu.rs index 99a16cb6c..c5b3645fa 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();