Added activeHue & localColor state & optimized onChange functions to maintain the selected hue value independently from the color's calculated hue, it allows hue persistence even at low saturation levels which solved the bug issue when selecting colors far left.
Description
What is the purpose of this pull request?
Added
activeHue
&localColor
state & optimized onChange functions to maintain the selected hue value independently from the color's calculated hue, it allows hue persistence even at low saturation levels which solved the bug issue when selecting colors far left.ActiveHue
when creating new colorsRelated: https://github.com/onlook-dev/onlook/issues/699