diff options
author | kobewi <kobewi4e@gmail.com> | 2022-10-17 16:51:52 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2022-11-02 14:44:41 +0100 |
commit | f5981ff19dfa98ac2252900ce63d3ae6a2f0c003 (patch) | |
tree | 13866534800d4090d2bebf18f6ba0c861e74ccc7 /scene/gui | |
parent | eddaab17eaffeef3ad38612bf72a901fd0ffcde5 (diff) |
Add a separate hue gradient for OKHSL mode
Diffstat (limited to 'scene/gui')
-rw-r--r-- | scene/gui/color_mode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/color_mode.cpp b/scene/gui/color_mode.cpp index a063cd344a..aaba7901e4 100644 --- a/scene/gui/color_mode.cpp +++ b/scene/gui/color_mode.cpp @@ -289,7 +289,7 @@ void ColorModeOKHSL::slider_draw(int p_which) { const real_t margin = 16 * color_picker->get_theme_default_base_scale(); if (p_which == 0) { // H - Ref<Texture2D> hue = color_picker->get_theme_icon(SNAME("color_hue"), SNAME("ColorPicker")); + Ref<Texture2D> hue = color_picker->get_theme_icon(SNAME("color_okhsl_hue"), SNAME("ColorPicker")); slider->draw_set_transform(Point2(), -Math_PI / 2, Size2(1.0, 1.0)); slider->draw_texture_rect(hue, Rect2(Vector2(margin * -1, 0), Vector2(margin, size.x)), false); return; |