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

Fix mapping from slider values to menu items. #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

garthk
Copy link

@garthk garthk commented Jan 25, 2021

Distributes inputs in the range 0..100 evenly across the menu items, fixing a bug making it almost impossible to select the first item.

I'm happy with the logic. I'm sure there's a shorter, clearer version of the expression in slider_zone. I'm very sure the slider_zone function belongs elsewhere; @geekscape do you want to move it yourself afterward, or should I move it now?

@garthk garthk force-pushed the fix/system_ui_slider_menu branch from c70e1a3 to 1d39d72 Compare January 27, 2021 10:35
@garthk garthk force-pushed the fix/system_ui_slider_menu branch from 1d39d72 to a7eb032 Compare January 29, 2021 06:38
@garthk garthk mentioned this pull request Jan 29, 2021
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.

1 participant