Yoda local fork of System76 cosmic-player
Add a `controls_hovered` state tracked via new `ControlsHoverEnter`/ `ControlsHoverExit` messages. Previously the auto-hide timeout could fire while the cursor was resting over the controls, since only mouse movement/clicks reset the timer. Now, this is prevented whenever the controls are hovered, i.e. `controls_hovered` is true. Implementation comments: - Controls popup is wrapped in a single `mouse_area` each to avoid duplicate enter/exit events at internal widget boundaries. - Double trigger of enter/exit messages in `update()` is guarded against. Resolves #304 - [x] I have disclosed use of any AI generated code in my commit messages. - If you are using an LLM, and do not fully understand the changes it is making to the code base, do not create a PR. - In our experience, AI generated code often results in overly complex code that lacks enough context for a proper fix or feature inclusion. This results in considerably longer code reviews. Due to this, AI authored or partially authored PRs may be closed without comment. - [x] I understand these changes in full and will be able to respond to review comments. - [x] My change is accurately described in the commit message. - [x] My contribution is tested and working as described. - [x] I have read the [Developer Certificate of Origin](https://developercertificate.org/) and certify my contribution under its conditions. |
||
|---|---|---|
| .github | ||
| .zed | ||
| debian | ||
| i18n | ||
| res | ||
| src | ||
| .gitignore | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| i18n.toml | ||
| justfile | ||
| LICENSE | ||
| README.md | ||
| rustfmt.toml | ||
| shell.nix | ||
| TESTING.md | ||
cosmic-player
WIP COSMIC media player