From 1bb6f2754c4960400abef9a6e3c2c8004851480f Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Mon, 16 Jun 2025 16:01:50 +0200 Subject: [PATCH] :bug: Fix allocate 0 bytes for path attrs --- frontend/src/app/render_wasm/api.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/render_wasm/api.cljs b/frontend/src/app/render_wasm/api.cljs index c3c762c016..8bb40ecf59 100644 --- a/frontend/src/app/render_wasm/api.cljs +++ b/frontend/src/app/render_wasm/api.cljs @@ -739,7 +739,7 @@ (when (and (some? content) (or (= type :path) (= type :bool))) - (when (some? svg-attrs) + (when (seq svg-attrs) (set-shape-path-attrs svg-attrs)) (set-shape-path-content content)) (when (and (some? content) (= type :svg-raw))