Compare commits

..

5 Commits
doc ... main

Author SHA1 Message Date
lencx
73d3b145ad Merge pull request #723 from cauyxy/main 2023-03-28 11:56:48 +08:00
Xinyu Yang
ac60dbd5ee Change tray window position position
Change tray window position from center to fixed center on left click event
2023-03-28 11:26:25 +08:00
lencx
e99ba830d8 Merge pull request #697 from shengwusuoxi/shengwusuoxi-patch-1 2023-03-26 00:53:39 +08:00
Luke Tang
a6b4e7fa82 Update release.yml 2023-03-23 14:11:03 +08:00
lencx
8453be3e9d Merge pull request #660 from lencx/doc 2023-03-19 19:46:36 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ jobs:
os: macos-latest
arch: x86_64
target: x86_64-apple-darwin
- buid: macos
- build: macos
os: macos-latest
arch: aarch64
target: aarch64-apple-darwin

View File

@@ -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();