Skip to content

Commit 20d0bea

Browse files
committed
Cherry-pick lencx#757
1 parent 826a115 commit 20d0bea

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
package-lock.json
2+
yarn.lock
23
node_modules/
34

45
.yarn/*

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.nvmrc

src-tauri/src/app/menu.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ pub fn tray_handler(handle: &AppHandle, event: SystemTrayEvent) {
464464
}
465465

466466
if let Some(tray_win) = handle.get_window("tray") {
467-
tray_win.move_window(Position::TrayFixedCenter).unwrap();
467+
tray_win.move_window(Position::TrayCenter).unwrap();
468468

469469
if tray_win.is_visible().unwrap() {
470470
tray_win.hide().unwrap();

0 commit comments

Comments
 (0)