mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-19 20:45:41 +08:00
fix: blurry tray icon in Windows
This commit is contained in:
1 parent
6bf7795529
commit
ca2e6353ae
4 files changed
+2
-2
No files matched your search
@@ -124,9 +124,9 @@ impl Tray {
|
||||
#[cfg(target_os = "windows")]
|
||||
{
|
||||
let indication_icon = if *system_proxy {
|
||||
include_bytes!("../../icons/tray-icon-activated.png").to_vec()
|
||||
include_bytes!("../../icons/win-tray-icon-activated.png").to_vec()
|
||||
} else {
|
||||
include_bytes!("../../icons/tray-icon.png").to_vec()
|
||||
include_bytes!("../../icons/win-tray-icon.png").to_vec()
|
||||
};
|
||||
|
||||
let _ = tray.set_icon(tauri::Icon::Raw(indication_icon));
|
||||
|
||||
Reference in new issue
Block a user