diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2023-11-06 14:53:52 +0100 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2023-11-07 10:04:39 +0100 |
commit | 079f1c8eada71aeb9a8c5805a1a2c86b47cca4f1 (patch) | |
tree | 8a75faf2b7e0991180352ff70950ee213bb6ba95 /scene/theme | |
parent | b7449a3d1aebd34026c7a2279a1b18ff0f02ccfa (diff) | |
download | redot-engine-079f1c8eada71aeb9a8c5805a1a2c86b47cca4f1.tar.gz |
Display a revert icon on ColorPicker's old sample
This denotes that the color can be clicked to revert to the old color.
Diffstat (limited to 'scene/theme')
-rw-r--r-- | scene/theme/default_theme.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/theme/default_theme.cpp b/scene/theme/default_theme.cpp index ddec5e826b..32950a3868 100644 --- a/scene/theme/default_theme.cpp +++ b/scene/theme/default_theme.cpp @@ -954,6 +954,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const theme->set_icon("shape_rect_wheel", "ColorPicker", icons["picker_shape_rectangle_wheel"]); theme->set_icon("add_preset", "ColorPicker", icons["add"]); theme->set_icon("sample_bg", "ColorPicker", icons["mini_checkerboard"]); + theme->set_icon("sample_revert", "ColorPicker", icons["reload"]); theme->set_icon("overbright_indicator", "ColorPicker", icons["color_picker_overbright"]); theme->set_icon("bar_arrow", "ColorPicker", icons["color_picker_bar_arrow"]); theme->set_icon("picker_cursor", "ColorPicker", icons["color_picker_cursor"]); |