🐛 Fix problem with colorpicker on change gradient stops (#5735)

This commit is contained in:
Alonso Torres 2025-01-31 11:46:48 +01:00 committed by GitHub
parent 65504fbd91
commit c3df84d812
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -111,6 +111,11 @@
(reset! internal-color* color)
(on-change color))))]
(mf/use-effect
(mf/deps color)
(fn []
(reset! internal-color* (enrich-color-map color))))
[:*
[:& value-saturation-selector
{:hue h