mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 06:10:15 +00:00
range: fix fill level for vertical inverted scales
This commit is contained in:
parent
5a83787dc0
commit
d000b212c6
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user