diff --git a/render-wasm/src/shapes.rs b/render-wasm/src/shapes.rs index 614b8515ae..9e1cd2aa2d 100644 --- a/render-wasm/src/shapes.rs +++ b/render-wasm/src/shapes.rs @@ -542,7 +542,7 @@ impl Shape { pub fn set_path_attr(&mut self, name: String, value: String) { match self.shape_type { - Type::Path(_) => { + Type::Path(_) | Type::Bool(_) => { self.set_svg_attr(name, value); } _ => unreachable!("This shape should have path attrs"),