range: fix fill level for vertical inverted scales

This commit is contained in:
Cosimo Cecchi 2016-02-29 12:53:08 -08:00
parent 5a83787dc0
commit d000b212c6

View File

@ -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,