From c3df84d81212aaf5518914d08ba7f5a0e77ee852 Mon Sep 17 00:00:00 2001 From: Alonso Torres Date: Fri, 31 Jan 2025 11:46:48 +0100 Subject: [PATCH] :bug: Fix problem with colorpicker on change gradient stops (#5735) --- frontend/src/app/main/ui/workspace/colorpicker/ramp.cljs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/src/app/main/ui/workspace/colorpicker/ramp.cljs b/frontend/src/app/main/ui/workspace/colorpicker/ramp.cljs index 83a419dcac..a7bfee7822 100644 --- a/frontend/src/app/main/ui/workspace/colorpicker/ramp.cljs +++ b/frontend/src/app/main/ui/workspace/colorpicker/ramp.cljs @@ -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