mirror of
https://github.com/penpot/penpot.git
synced 2026-08-01 19:06:18 +00:00
🐛 Fix problem changing fill images
This commit is contained in:
parent
e8b29c3cfc
commit
a9052e2690
@ -602,9 +602,11 @@
|
|||||||
(update-in state [:stops stop] (fn [data] (->> changes
|
(update-in state [:stops stop] (fn [data] (->> changes
|
||||||
(merge data)
|
(merge data)
|
||||||
(materialize-color-components))))
|
(materialize-color-components))))
|
||||||
|
|
||||||
(-> state
|
(-> state
|
||||||
(dissoc :gradient :stops :editing-stop)
|
(dissoc :gradient :stops :editing-stop)
|
||||||
(assoc :type :color)))))))
|
(cond-> (not= :image (:type state))
|
||||||
|
(assoc :type :color))))))))
|
||||||
ptk/WatchEvent
|
ptk/WatchEvent
|
||||||
(watch [_ state _]
|
(watch [_ state _]
|
||||||
(when add-recent?
|
(when add-recent?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user