🐛 Fix change from gradient to solid color

This commit is contained in:
alonso.torres 2025-07-23 16:25:10 +02:00 committed by Andrey Antukh
parent 955538b12a
commit 52c1e227d5
2 changed files with 6 additions and 1 deletions

View File

@ -49,6 +49,7 @@
- Fix overriden tokens in text copies are not preserved [Taiga #11486](https://tree.taiga.io/project/penpot/issue/11486)
- Fix problem when changing between flex/grid layout [Taiga #11625](https://tree.taiga.io/project/penpot/issue/11625)
- Fix opacity on stroke gradients [Taiga #11646](https://tree.taiga.io/project/penpot/issue/11646)
- Fix change from gradient to solid color [Taiga #11648](https://tree.taiga.io/project/penpot/issue/11648)
## 2.8.1 (Unreleased)

View File

@ -1080,7 +1080,11 @@
(fn [state]
(-> state
(assoc :type :color)
(dissoc :editing-stop :stops :gradient)))))))
(dissoc :editing-stop :stops :gradient)))))
ptk/WatchEvent
(watch [_ _ _]
(rx/of (update-colorpicker-color {} false)))))
(defn activate-colorpicker-gradient
[type]