Skip to content

Commit

Permalink
Merge branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
lencx committed Apr 12, 2023
2 parents da1e66b + 73d3b14 commit 60b7e31
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 @@ -458,7 +458,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 60b7e31

Please sign in to comment.