Files
ladybird/Userland/Libraries/LibGUI
Karol Kosek 43a800a838 LibGUI: Set correct value on click with set jump_to_cursor() in Slider
Prior this change, clicking on a slider with set jump_to_cursor() flag
didn't exactly match the knob to the mouse position, and therefore
the slider values were a bit off in the corners.
The calculation used the whole widget size to set new values, which
isn't correct as the track slider has margins on both ends.

I noticed this while seeking in the Sound Player.
2021-09-03 02:32:43 +02:00
..
2021-07-13 17:54:37 +02:00
2021-09-03 02:32:43 +02:00
2021-08-18 10:39:13 +02:00
2021-08-18 10:39:13 +02:00
2021-08-18 10:39:13 +02:00
2021-08-06 23:35:48 +02:00
2021-08-06 23:35:48 +02:00