mirror of
https://github.com/penpot/penpot.git
synced 2025-08-06 11:28:28 +02:00
🐛 Fix exception on changing hex color on colorpicker gradient editor (#6718)
This commit is contained in:
parent
f0b82864dd
commit
54643b79f6
1 changed files with 2 additions and 1 deletions
|
@ -116,7 +116,8 @@
|
|||
(fn [value]
|
||||
(let [color (-> color
|
||||
(assoc :color value)
|
||||
(dissoc :gradient))]
|
||||
(dissoc :gradient)
|
||||
(select-keys types.color/color-attrs))]
|
||||
(st/emit! (dwc/add-recent-color color)
|
||||
(on-change color)))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue