mirror of
https://github.com/penpot/penpot.git
synced 2025-01-20 05:34:23 -05: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,10 +129,10 @@
|
|||
:attrs [:strokes]}))
|
||||
|
||||
(defn update-color [f value shape-ids]
|
||||
(let [color (some->> value
|
||||
(tinycolor/valid-color)
|
||||
(tinycolor/->hex)
|
||||
(str "#"))]
|
||||
(when-let [color (some->> value
|
||||
(tinycolor/valid-color)
|
||||
(tinycolor/->hex)
|
||||
(str "#"))]
|
||||
(f shape-ids {:color color} 0)))
|
||||
|
||||
(defn update-fill
|
||||
|
|
Loading…
Add table
Reference in a new issue