mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
🎉 Shape opacity for wasm render
This commit is contained in:
@@ -164,6 +164,7 @@ impl RenderState {
|
||||
|
||||
let mut paint = skia::Paint::default();
|
||||
paint.set_blend_mode(shape.blend_mode.into());
|
||||
paint.set_alpha_f(shape.opacity);
|
||||
self.drawing_surface.draw(
|
||||
&mut self.final_surface.canvas(),
|
||||
(0.0, 0.0),
|
||||
|
||||
Reference in New Issue
Block a user