mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 19:28:12 +00:00
♻️ Update backend for :path-data attribute
Update binfile cleaner and SREPL path_data proc to use :path-data instead of :content for path and bool shapes. Signed-off-by: Andrey Antukh <niwi@niwi.nz>
This commit is contained in:
parent
2505367ae7
commit
d0eeb8cb50
@ -20,7 +20,7 @@
|
||||
[shape]
|
||||
(if-let [content (get shape :bool-content)]
|
||||
(-> shape
|
||||
(assoc :content content)
|
||||
(assoc :path-data content)
|
||||
(dissoc :bool-content))
|
||||
shape))
|
||||
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
(fn [object]
|
||||
(if (or (cfh/path-shape? object)
|
||||
(cfh/bool-shape? object))
|
||||
(update object :content vec)
|
||||
(update object :path-data vec)
|
||||
object))
|
||||
|
||||
update-container
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user