mirror of
https://github.com/slint-ui/slint.git
synced 2025-12-23 09:19:32 +00:00
Compute relativeX/relativeY as inline bindings instead of updating them in the event handler. Also use grabbing cursor for better UX. |
||
|---|---|---|
| .. | ||
| images | ||
| dial.slint | ||
| README.md | ||
Slint dial example
Dial example. Uses Math.atan2 to calculate the angle and let the user rotate a dial.
Online Preview Online code editor
Planned changes
- Update the graphics slightly. They are 10 years old and would benefit from a small polish.