Skip to content

Dial gauge can go past limits. #23

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

Closed
kmatch98 opened this issue Mar 21, 2021 · 0 comments · Fixed by #26
Closed

Dial gauge can go past limits. #23

kmatch98 opened this issue Mar 21, 2021 · 0 comments · Fixed by #26

Comments

@kmatch98
Copy link
Contributor

Currently the dial gauge value can be set outside the range that is displayed. This causes the needle to go outside the range of motion defined by the sweep_angle

Recommend that the needle position be limited to the specified range. But also recommend to allow the value to be anything in case the user needs the dial to retain this set value, even if outside the min and max values.

So, only clip the needle position but allow value to be anything.

(Possible subclass extension: adding a “clip” indicator to a gauge, like in a VU meter, to show that the value is over range)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant