Skip to content

Commit

Permalink
Cherry-pick lencx#757
Browse files Browse the repository at this point in the history
  • Loading branch information
olljanat committed Apr 16, 2023
1 parent 46a0961 commit 2555c22
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package-lock.json
yarn.lock
node_modules/

.yarn/*
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.nvmrc
2 changes: 1 addition & 1 deletion src-tauri/src/app/menu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 2555c22

Please sign in to comment.