Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dial example: rotate dial only if initial touch is within its bounds #7142

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

task-jp
Copy link
Contributor

@task-jp task-jp commented Dec 17, 2024

Add a boundary check to ensure that rotation only occurs when the first pointer contact is inside the circular dial area. If the initial touch is outside, the dial remains stationary.

Add a boundary check to ensure that rotation only occurs when the
first pointer contact is inside the circular dial area.
If the initial touch is outside, the dial remains stationary.

Mouse cursor is set properly to show current status.
@NigelBreslaw
Copy link
Member

Love this! Thank you

@NigelBreslaw NigelBreslaw merged commit 8719c0e into slint-ui:master Dec 19, 2024
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants