mirror of
https://github.com/penpot/penpot.git
synced 2026-09-07 12:40:12 +00:00
🐛 Fix adding string for texts with shortcut
This commit is contained in:
parent
f5128d8d43
commit
dcac6d9ea4
@ -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…
x
Reference in New Issue
Block a user