Commit d000b212 authored by Cosimo Cecchi's avatar Cosimo Cecchi

range: fix fill level for vertical inverted scales

parent 5a83787d
......@@ -1940,7 +1940,7 @@ gtk_range_allocate_trough (GtkCssGadget *gadget,
fill_alloc.height *= fill;
if (should_invert (range))
fill_alloc.y += allocation->height - (fill_alloc.height * fill);
fill_alloc.y += allocation->height - fill_alloc.height;
}
gtk_css_gadget_allocate (priv->fill_gadget,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment