From f5981ff19dfa98ac2252900ce63d3ae6a2f0c003 Mon Sep 17 00:00:00 2001 From: kobewi Date: Mon, 17 Oct 2022 16:51:52 +0200 Subject: Add a separate hue gradient for OKHSL mode --- scene/gui/color_mode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/gui') 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 hue = color_picker->get_theme_icon(SNAME("color_hue"), SNAME("ColorPicker")); + Ref 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; -- cgit v1.2.3