range: Fix a copy-paste error

This was showing up as the alpha popup in
the color editor not being positioned correctly.
This commit is contained in:
Matthias Clasen
2023-04-08 19:50:16 -04:00
parent 22cf3e9269
commit ada1e212f1

View File

@@ -1010,7 +1010,7 @@ gtk_range_get_slider_range (GtkRange *range,
else
{
if (slider_start)
*slider_start = slider_bounds.origin.y;
*slider_start = slider_bounds.origin.x;
if (slider_end)
*slider_end = slider_bounds.origin.x + slider_bounds.size.width;
}