0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-16 03:58:20 -05:00

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
commit d046feef28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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