🐛 Fix invalid text shapes with invalid nodes

This commit is contained in:
Andrey Antukh 2024-01-24 15:07:50 +01:00
parent e4f4ab9221
commit 2950259f97
3 changed files with 26 additions and 5 deletions

View file

@ -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)