mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
🎉 Render liner gradient fills
This commit is contained in:
@@ -212,7 +212,7 @@ impl RenderState {
|
||||
for fill in shape.fills().rev() {
|
||||
self.drawing_surface
|
||||
.canvas()
|
||||
.draw_rect(shape.selrect, &fill.to_paint());
|
||||
.draw_rect(shape.selrect, &fill.to_paint(&shape.selrect));
|
||||
}
|
||||
|
||||
let mut paint = skia::Paint::default();
|
||||
|
||||
Reference in New Issue
Block a user