mirror of
https://github.com/penpot/penpot.git
synced 2025-05-23 05:06:13 +02:00
🎉 Suport for show-content in render wasm
This commit is contained in:
parent
0eedc036be
commit
e1d9efea7f
5 changed files with 47 additions and 23 deletions
|
@ -51,6 +51,7 @@ pub struct Shape {
|
|||
pub selrect: math::Rect,
|
||||
pub transform: Matrix,
|
||||
pub rotation: f32,
|
||||
pub clip_content: bool,
|
||||
fills: Vec<Fill>,
|
||||
pub blend_mode: BlendMode,
|
||||
pub opacity: f32,
|
||||
|
@ -66,6 +67,7 @@ impl Shape {
|
|||
selrect: math::Rect::new_empty(),
|
||||
transform: Matrix::identity(),
|
||||
rotation: 0.,
|
||||
clip_content: true,
|
||||
fills: vec![],
|
||||
blend_mode: BlendMode::default(),
|
||||
opacity: 1.,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue