🎉 Hidden layer support for wasm render

This commit is contained in:
Alejandro Alonso 2024-12-03 12:57:04 +01:00 committed by Belén Albeza
parent 7c7ede9d0c
commit 07215357d6
5 changed files with 20 additions and 3 deletions

View file

@ -51,6 +51,7 @@ pub struct Shape {
fills: Vec<Fill>,
pub blend_mode: BlendMode,
pub opacity: f32,
pub hidden: bool,
}
impl Shape {
@ -65,6 +66,7 @@ impl Shape {
fills: vec![],
blend_mode: BlendMode::default(),
opacity: 1.,
hidden: false,
}
}