mirror of
https://github.com/penpot/penpot.git
synced 2025-05-18 11:16:13 +02:00
🎉 Shape opacity for wasm render
This commit is contained in:
parent
e675ff6db5
commit
d09e5ef9b3
5 changed files with 19 additions and 1 deletions
|
@ -104,6 +104,7 @@ pub struct Shape {
|
|||
pub rotation: f32,
|
||||
fills: Vec<Fill>,
|
||||
pub blend_mode: BlendMode,
|
||||
pub opacity: f32,
|
||||
}
|
||||
|
||||
impl Shape {
|
||||
|
@ -117,6 +118,7 @@ impl Shape {
|
|||
rotation: 0.,
|
||||
fills: vec![],
|
||||
blend_mode: BlendMode::default(),
|
||||
opacity: 1.,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue