Skip to content

slider: Calculate handle position in whole pixel units

Daniel van Vugt requested to merge vanvugt/gnome-shell:unclip-slider-knob into master

-slider-handle-radius is a floating point value and even in the default theme it's not a whole number. Regardless of the fractional part that's still going to occupy a whole extra pixel with antialiasing. So make room for it. Otherwise it looks clipped, which it is by the Cairo context of its StDrawingArea.

Fixes #1569 (closed)

Merge request reports