Moved HSV and OKHSL caching logic into color_mode
This commit is contained in:
@ -204,8 +204,6 @@ private:
|
||||
float h = 0.0;
|
||||
float s = 0.0;
|
||||
float v = 0.0;
|
||||
float cached_hue = 0.0;
|
||||
float cached_saturation = 0.0;
|
||||
Color last_color;
|
||||
|
||||
struct ThemeCache {
|
||||
@ -296,9 +294,6 @@ public:
|
||||
#ifdef TOOLS_ENABLED
|
||||
void set_editor_settings(Object *p_editor_settings);
|
||||
#endif
|
||||
float get_cached_hue() { return cached_hue; };
|
||||
float get_cached_saturation() { return cached_saturation; };
|
||||
|
||||
HSlider *get_slider(int idx);
|
||||
Vector<float> get_active_slider_values();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user