diff options
author | Torstennator <engelTorsten@gmx.de> | 2022-04-24 18:37:28 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-05-08 17:17:56 +0200 |
commit | f9ec3b986e5184dbabb3e23a224d0ad9f9c796f5 (patch) | |
tree | e49794cf638f944aae4004fce58dd035aa4fa849 /Userland/Libraries/LibTimeZone | |
parent | ee6fb51db65d3bdde298bd097b5a39a3d6bf33d4 (diff) | |
download | serenity-f9ec3b986e5184dbabb3e23a224d0ad9f9c796f5.zip |
LibGUI: Fix {Value,Opacity}Slider value changes for values less than 0
This patch fixes a value glitch when changing the slider value via
dragging the knob with the mouse and having a min value smaller than 0.
Before this patch it was not possible to drag the value below 0 and it
just snapped to the configured min value if the mouse was at the most
left position. Now the value is calculated from the value range and
mouse position within the widget.
Diffstat (limited to 'Userland/Libraries/LibTimeZone')
0 files changed, 0 insertions, 0 deletions