fix:tray click event

This commit is contained in:
huzibaca 2024-09-12 17:02:17 +08:00
parent 4a76997044
commit 3c17fca369

View File

@ -24,7 +24,6 @@ impl Tray {
let tray_event: String = tray_event.unwrap_or("main_window".into()); let tray_event: String = tray_event.unwrap_or("main_window".into());
if let TrayIconEvent::Click { if let TrayIconEvent::Click {
button: MouseButton::Left, button: MouseButton::Left,
button_state: MouseButtonState::Up,
.. ..
} = event } = event
{ {