mirror of
https://github.com/penpot/penpot.git
synced 2025-01-08 16:00:19 -05:00
🐛 Fix picking a gradient color in recent colors for a new color in the assets tab
This commit is contained in:
parent
51462ba476
commit
7d7b4074b2
2 changed files with 3 additions and 1 deletions
|
@ -49,6 +49,7 @@
|
||||||
- Fix problem with images patterns repeating [#3372](https://github.com/penpot/penpot/issues/3372)
|
- Fix problem with images patterns repeating [#3372](https://github.com/penpot/penpot/issues/3372)
|
||||||
- Fix grid not being clipped in frames [#3365](https://github.com/penpot/penpot/issues/3365)
|
- Fix grid not being clipped in frames [#3365](https://github.com/penpot/penpot/issues/3365)
|
||||||
- Fix cut/delete text layer when while creating text [Taiga #5602](https://tree.taiga.io/project/penpot/issue/5602)
|
- Fix cut/delete text layer when while creating text [Taiga #5602](https://tree.taiga.io/project/penpot/issue/5602)
|
||||||
|
- Fix picking a gradient color in recent colors for a new color in the assets tab [Taiga #5601](https://tree.taiga.io/project/penpot/issue/5601)
|
||||||
|
|
||||||
### :arrow_up: Deps updates
|
### :arrow_up: Deps updates
|
||||||
|
|
||||||
|
|
|
@ -520,7 +520,8 @@
|
||||||
stops (mapv split-color-components (:stops gradient))
|
stops (mapv split-color-components (:stops gradient))
|
||||||
type (case (:type gradient)
|
type (case (:type gradient)
|
||||||
:linear :linear-gradient
|
:linear :linear-gradient
|
||||||
:radial :radial-gradient)]
|
:radial :radial-gradient
|
||||||
|
(:type state))]
|
||||||
(-> state
|
(-> state
|
||||||
(assoc :type type)
|
(assoc :type type)
|
||||||
(assoc :current-color (nth stops stop))
|
(assoc :current-color (nth stops stop))
|
||||||
|
|
Loading…
Reference in a new issue