0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 15:39:50 -05:00

🐛 Fix adding string for texts with shortcut

This commit is contained in:
Alejandro Alonso 2022-05-24 07:17:15 +02:00
parent f5128d8d43
commit dcac6d9ea4

View file

@ -279,7 +279,10 @@
:always :always
(d/without-nils))] (d/without-nils))]
(assoc-in shape [:strokes index] new-attrs))))))))) (-> shape
(cond-> (not (contains? shape :strokes))
(assoc :strokes []))
(assoc-in [:strokes index] new-attrs))))))))))
(defn add-stroke (defn add-stroke
[ids stroke] [ids stroke]