mirror of
https://github.com/penpot/penpot.git
synced 2026-05-02 06:38:20 +00:00
🐛 Fix color type icon doesn't change
This commit is contained in:
parent
aed065eec1
commit
3063725a62
@ -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…
x
Reference in New Issue
Block a user