mirror of
https://github.com/penpot/penpot.git
synced 2026-09-18 18:06:14 +00:00
🐛 Fix color type icon doesn't change
This commit is contained in:
parent
aed065eec1
commit
3063725a62
@ -499,7 +499,10 @@
|
|||||||
(fn [state]
|
(fn [state]
|
||||||
(let [state (-> state
|
(let [state (-> state
|
||||||
(update :current-color merge changes)
|
(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)]
|
(if-let [stop (:editing-stop state)]
|
||||||
(update-in state [:stops stop] (fn [data] (->> changes
|
(update-in state [:stops stop] (fn [data] (->> changes
|
||||||
(merge data)
|
(merge data)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user