From 2650eccd09522de69d4726789fa97611bc3b1d95 Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Thu, 29 May 2025 12:27:08 +0200 Subject: [PATCH] :bug: Fix set path attrs (#6589) --- render-wasm/src/shapes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"),