mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
rendernode: Apply the same radius for begin and end
Somebody fixed the end() call but not the begin() call when the too large blur radius was fixed.
This commit is contained in:
parent
da5de1ba99
commit
a19bc6620a
@ -4949,7 +4949,7 @@ gsk_shadow_node_draw (GskRenderNode *node,
|
||||
continue;
|
||||
|
||||
cairo_save (cr);
|
||||
cr = gsk_cairo_blur_start_drawing (cr, shadow->radius, GSK_BLUR_X | GSK_BLUR_Y);
|
||||
cr = gsk_cairo_blur_start_drawing (cr, 0.5 * shadow->radius, GSK_BLUR_X | GSK_BLUR_Y);
|
||||
|
||||
cairo_save (cr);
|
||||
cairo_translate (cr, shadow->dx, shadow->dy);
|
||||
|
Loading…
Reference in New Issue
Block a user