mirror of
https://github.com/penpot/penpot.git
synced 2025-05-25 23:26:10 +02:00
🐛 Fix invalid text shapes with invalid nodes
This commit is contained in:
parent
e4f4ab9221
commit
2950259f97
3 changed files with 26 additions and 5 deletions
|
@ -205,12 +205,10 @@
|
|||
|
||||
fix-misc-shape-issues
|
||||
(fn [file-data]
|
||||
(letfn [(fix-container
|
||||
[container]
|
||||
(letfn [(fix-container [container]
|
||||
(d/update-when container :objects update-vals fix-shape))
|
||||
|
||||
(fix-shape
|
||||
[shape]
|
||||
(fix-shape [shape]
|
||||
(cond-> shape
|
||||
;; Some shapes has invalid gap value
|
||||
(contains? shape :layout-gap)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue