render: Clip the correct rectangle
We translated before.
This commit is contained in:
parent
11a4dcba77
commit
34d45def37
@ -387,7 +387,7 @@ gtk_css_style_render_background (GtkCssStyle *style,
|
|||||||
if (needs_push_group)
|
if (needs_push_group)
|
||||||
{
|
{
|
||||||
cairo_save (cr);
|
cairo_save (cr);
|
||||||
cairo_rectangle (cr, x, y, width, height);
|
cairo_rectangle (cr, 0, 0, width, height);
|
||||||
cairo_clip (cr);
|
cairo_clip (cr);
|
||||||
cairo_push_group (cr);
|
cairo_push_group (cr);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user