Skip to content

kcms/nightcolor: Fix scrolling direction of temperature sliders

Ismael Asensio requested to merge work/iasensio/nightcolor-fix-scrolling into master

Since the minimum and maximum values on the temperature sliders are reversed, also reverse the stepSize to make the interactions consistent with the visual representation.

Tested with touchpad and mouse wheel scrolling, and keyboard keys. Also with normal and reversed scrolling direction settings

  • Scroll up/Scroll right/Right key -> moves the slider to the right
  • Scroll down/Scroll left/Left key -> moves the slider to the left

Requires frameworks/qqc2-desktop-style!336 (merged). Otherwise only half of the interactions get fixed while the most common one (vertical scrolling) is not.

Edited by Ismael Asensio

Merge request reports