Skip to content

Commit

Permalink
Merge pull request #723 from cauyxy/main
Browse files Browse the repository at this point in the history
  • Loading branch information
lencx authored Mar 28, 2023
2 parents e99ba83 + ac60dbd commit 73d3b14
Showing 1 changed file with 1 addition and 1 deletion.
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::TrayCenter).unwrap();
tray_win.move_window(Position::TrayFixedCenter).unwrap();

if tray_win.is_visible().unwrap() {
tray_win.hide().unwrap();
Expand Down

0 comments on commit 73d3b14

Please sign in to comment.