mirror of
https://github.com/lencx/ChatGPT.git
synced 2026-02-06 11:26:59 +00:00
Merge pull request #723 from cauyxy/main
This commit is contained in:
commit
73d3b145ad
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user