summaryrefslogtreecommitdiffstats
path: root/scene/gui/color_picker.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/gui/color_picker.h')
-rw-r--r--scene/gui/color_picker.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/gui/color_picker.h b/scene/gui/color_picker.h
index 711a371688..bc7eadf223 100644
--- a/scene/gui/color_picker.h
+++ b/scene/gui/color_picker.h
@@ -204,6 +204,7 @@ private:
float h = 0.0;
float s = 0.0;
float v = 0.0;
+ float cached_hue = 0.0;
Color last_color;
struct ThemeCache {
@@ -294,6 +295,7 @@ public:
#ifdef TOOLS_ENABLED
void set_editor_settings(Object *p_editor_settings);
#endif
+ float get_cached_hue() { return cached_hue; };
HSlider *get_slider(int idx);
Vector<float> get_active_slider_values();