Skip to content

fix(ui): fix non-linear sliders value changing too much when scrolling

Description

These changes change non-linear sliders undesirable behavior when scrolling; they changed value too much, typically jumping to minimum or maximum, while the expected behavior would be to set the slider to the previous/next possible value.

Closes #1047 (closed)

How to test it?

  • Launch ExSParameters
  • Notice the non-linear slider value is 90 (its default value)
  • Focus the non-linear slider by clicking on it
  • Scroll up in the non-linear slider and notice the value goes to 120, the next possible value, as one would expect. If you have trouble scrolling in the non-linear slider because the scroll bar moves instead, you may use the PageUp key, it should be equivalent.
Edited by Lucas SCHMIDT

Merge request reports