mirror of
https://github.com/penpot/penpot.git
synced 2026-04-27 04:08:23 +00:00
🐛 Fix exception on changing hex color on colorpicker gradient editor (#6718)
This commit is contained in:
parent
f0b82864dd
commit
54643b79f6
@ -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…
x
Reference in New Issue
Block a user