tauri/.changes/tray-icon-event.md
Amr Bashir c4410daa85
feat(tray): add enter, move and leave events (#9777)
* feat(tray): add `enter`, `move` and `leave` events

closes #8584

* update api example

* check button state [skip ci]

* fix enum [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-05-24 14:56:32 -03:00

11 lines
383 B
Markdown

---
"tauri": "patch:breaking"
"@tauri-apps/api": "patch:breaking"
---
This release contains breaking changes to the tray event structure because of newly added events:
- Changed `TrayIconEvent` to be an enum instead of a struct.
- Added `MouseButtonState` and `MouseButton` enums.
- Removed `ClickType` enum and replaced it with `MouseButton` enum.
- Added `MouseButtonState` enum.