mirror of
https://github.com/penpot/penpot.git
synced 2025-07-26 02:37:22 +02:00
🐛 Fix problem with colorpicker on change gradient stops (#5735)
This commit is contained in:
parent
65504fbd91
commit
c3df84d812
1 changed files with 5 additions and 0 deletions
|
@ -111,6 +111,11 @@
|
||||||
(reset! internal-color* color)
|
(reset! internal-color* color)
|
||||||
(on-change color))))]
|
(on-change color))))]
|
||||||
|
|
||||||
|
(mf/use-effect
|
||||||
|
(mf/deps color)
|
||||||
|
(fn []
|
||||||
|
(reset! internal-color* (enrich-color-map color))))
|
||||||
|
|
||||||
[:*
|
[:*
|
||||||
[:& value-saturation-selector
|
[:& value-saturation-selector
|
||||||
{:hue h
|
{:hue h
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue