mirror of
https://github.com/penpot/penpot.git
synced 2025-03-18 10:41:29 -05:00
🐛 Fix color type icon doesn't change
This commit is contained in:
parent
aed065eec1
commit
3063725a62
1 changed files with 4 additions and 1 deletions
|
@ -499,7 +499,10 @@
|
|||
(fn [state]
|
||||
(let [state (-> state
|
||||
(update :current-color merge changes)
|
||||
(update :current-color materialize-color-components))]
|
||||
(update :current-color materialize-color-components)
|
||||
;; current color can be a library one I'm changing via colorpicker
|
||||
(d/dissoc-in [:current-color :id])
|
||||
(d/dissoc-in [:current-color :file-id]))]
|
||||
(if-let [stop (:editing-stop state)]
|
||||
(update-in state [:stops stop] (fn [data] (->> changes
|
||||
(merge data)
|
||||
|
|
Loading…
Add table
Reference in a new issue