0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-07 15:39:42 -05:00

🐛 Fix fill apply order

This commit is contained in:
Belén Albeza 2024-11-13 15:07:16 +01:00
parent e45e8158b0
commit 7458165e51

View file

@ -141,7 +141,7 @@ fn render_single_shape(surface: &mut skia::Surface, shape: &Shape) {
surface.canvas().concat(&matrix);
for fill in shape.fills() {
for fill in shape.fills().rev() {
surface.canvas().draw_rect(r, &fill.to_paint());
}
}