Fix ColorPicker color and hsv sync issue
ColorPicker has both a Color and HSV values for the currently selected color, fixed a few cases where those were not kept in sync. Refactored a little regarding this, and removed a redundant update. Solves #63777
This commit is contained in:
@ -156,6 +156,9 @@ private:
|
||||
float v = 0.0;
|
||||
Color last_color;
|
||||
|
||||
void _copy_color_to_hsv();
|
||||
void _copy_hsv_to_color();
|
||||
|
||||
PickerShapeType _get_actual_shape() const;
|
||||
void create_slider(GridContainer *gc, int idx);
|
||||
void _reset_theme();
|
||||
|
||||
Reference in New Issue
Block a user