mirror of
https://github.com/penpot/penpot.git
synced 2025-06-07 16:01:38 +02:00
🐛 Fix shape color being removed for missing token references
This commit is contained in:
parent
584f8be751
commit
f79ccd52aa
1 changed files with 4 additions and 4 deletions
|
@ -129,7 +129,7 @@
|
||||||
:attrs [:strokes]}))
|
:attrs [:strokes]}))
|
||||||
|
|
||||||
(defn update-color [f value shape-ids]
|
(defn update-color [f value shape-ids]
|
||||||
(let [color (some->> value
|
(when-let [color (some->> value
|
||||||
(tinycolor/valid-color)
|
(tinycolor/valid-color)
|
||||||
(tinycolor/->hex)
|
(tinycolor/->hex)
|
||||||
(str "#"))]
|
(str "#"))]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue