mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +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]
|
(fn [value]
|
||||||
(let [color (-> color
|
(let [color (-> color
|
||||||
(assoc :color value)
|
(assoc :color value)
|
||||||
(dissoc :gradient))]
|
(dissoc :gradient)
|
||||||
|
(select-keys types.color/color-attrs))]
|
||||||
(st/emit! (dwc/add-recent-color color)
|
(st/emit! (dwc/add-recent-color color)
|
||||||
(on-change color)))))
|
(on-change color)))))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue