mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-13 04:10:13 +00:00
gskrendernode: Fix inset shadow drawing
This commit is contained in:
parent
4045794801
commit
9a43881a19
@ -855,7 +855,7 @@ draw_shadow (cairo_t *cr,
|
||||
cairo_set_fill_rule (shadow_cr, CAIRO_FILL_RULE_EVEN_ODD);
|
||||
gsk_rounded_rect_path (box, shadow_cr);
|
||||
if (inset)
|
||||
cairo_rectangle (cr,
|
||||
cairo_rectangle (shadow_cr,
|
||||
clip_box->bounds.origin.x, clip_box->bounds.origin.y,
|
||||
clip_box->bounds.size.width, clip_box->bounds.size.height);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user