range: Draw the colorscale trough at 0,0

This commit is contained in:
Timm Bäder 2017-05-08 17:17:27 +02:00 committed by Matthias Clasen
parent 2e62072cbc
commit 706bc08b68

View File

@ -1729,7 +1729,7 @@ gtk_range_render_trough (GtkGizmo *gizmo,
*/
if (GTK_IS_COLOR_SCALE (widget))
gtk_color_scale_snapshot_trough (GTK_COLOR_SCALE (widget), snapshot,
alloc.x, alloc.y, alloc.width, alloc.height);
0, 0, alloc.width, alloc.height);
if (priv->show_fill_level &&
gtk_adjustment_get_upper (priv->adjustment) - gtk_adjustment_get_page_size (priv->adjustment) -