gsk: Set correct blur radius for cairo shadows

This commit is contained in:
Benjamin Otte 2023-12-05 18:52:08 +01:00
parent d39ec8c09e
commit c341da32aa

View File

@ -4872,7 +4872,7 @@ gsk_shadow_node_draw (GskRenderNode *node,
cairo_mask (cr, pattern); cairo_mask (cr, pattern);
cairo_restore (cr); cairo_restore (cr);
cr = gsk_cairo_blur_finish_drawing (cr, shadow->radius, &shadow->color, GSK_BLUR_X | GSK_BLUR_Y); cr = gsk_cairo_blur_finish_drawing (cr, 0.5 * shadow->radius, &shadow->color, GSK_BLUR_X | GSK_BLUR_Y);
cairo_restore (cr); cairo_restore (cr);
} }