mirror of
https://github.com/penpot/penpot.git
synced 2025-02-10 00:58:26 -05:00
🐛 Fix problem changing fill images
This commit is contained in:
parent
e8b29c3cfc
commit
a9052e2690
1 changed files with 3 additions and 1 deletions
|
@ -602,9 +602,11 @@
|
|||
(update-in state [:stops stop] (fn [data] (->> changes
|
||||
(merge data)
|
||||
(materialize-color-components))))
|
||||
|
||||
(-> state
|
||||
(dissoc :gradient :stops :editing-stop)
|
||||
(assoc :type :color)))))))
|
||||
(cond-> (not= :image (:type state))
|
||||
(assoc :type :color))))))))
|
||||
ptk/WatchEvent
|
||||
(watch [_ state _]
|
||||
(when add-recent?
|
||||
|
|
Loading…
Add table
Reference in a new issue