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:
parent
f5128d8d43
commit
dcac6d9ea4
1 changed files with 4 additions and 1 deletions
|
@ -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]
|
||||||
|
|
Loading…
Add table
Reference in a new issue