Merge pull request #5644 from penpot/ladybenko-9784-fix-set-path-content

🐛 Fix crash on set-shape-path-content
This commit is contained in:
Alejandro
2025-01-22 13:55:12 +01:00
committed by GitHub

View File

@@ -124,7 +124,7 @@
:opacity (api/set-shape-opacity v)
:hidden (api/set-shape-hidden v)
:shapes (api/set-shape-children v)
:content (api/set-shape-path-content v)
:content (when (= (:type self) :path) (api/set-shape-path-content v))
:blur (api/set-shape-blur v)
nil)
;; when something synced with wasm