Skip to content

Fix mapping from slider values to menu items.#34

Open
garthk wants to merge 1 commit intogeekscape:masterfrom
garthk:fix/system_ui_slider_menu
Open

Fix mapping from slider values to menu items.#34
garthk wants to merge 1 commit intogeekscape:masterfrom
garthk:fix/system_ui_slider_menu

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