diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-03-09 14:43:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-09 14:43:26 +0100 |
commit | 18bb36707fb7e2d940e3698a7ffa097be23cb69b (patch) | |
tree | 679d0c20afd119d0b5475558a94563a22d83b2ca /editor | |
parent | ca1db9626c8ad107ba975a86865f3c55ed97011b (diff) | |
parent | d295d53b4a31191522627a3b40e3f367cfbc05a6 (diff) | |
download | redot-engine-18bb36707fb7e2d940e3698a7ffa097be23cb69b.tar.gz |
Merge pull request #46110 from gongpha/colorbar-in-colorpicker
Add color interpolation bar on each channel in ColorPicker
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_themes.cpp | 1 | ||||
-rw-r--r-- | editor/icons/ColorPickerBarArrow.svg | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp index 3d40c145f2..fe748b81c3 100644 --- a/editor/editor_themes.cpp +++ b/editor/editor_themes.cpp @@ -1283,6 +1283,7 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) { theme->set_icon("add_preset", "ColorPicker", theme->get_icon("Add", "EditorIcons")); theme->set_icon("preset_bg", "ColorPicker", theme->get_icon("GuiMiniCheckerboard", "EditorIcons")); theme->set_icon("overbright_indicator", "ColorPicker", theme->get_icon("OverbrightIndicator", "EditorIcons")); + theme->set_icon("bar_arrow", "ColorPicker", theme->get_icon("ColorPickerBarArrow", "EditorIcons")); theme->set_icon("bg", "ColorPickerButton", theme->get_icon("GuiMiniCheckerboard", "EditorIcons")); diff --git a/editor/icons/ColorPickerBarArrow.svg b/editor/icons/ColorPickerBarArrow.svg new file mode 100644 index 0000000000..9d034106ee --- /dev/null +++ b/editor/icons/ColorPickerBarArrow.svg @@ -0,0 +1 @@ +<svg height="20" viewBox="0 0 16 20" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m2 16h12l-6-6z" fill="#e0e0e0" stroke-width="2"/></svg> |