diff options
author | Juan Linietsky <reduzio@gmail.com> | 2021-02-12 22:55:42 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-12 22:55:42 -0300 |
commit | f0951537a49460052bb935edc37b0cc24e9545cf (patch) | |
tree | 0aa490b04d17c05e031b7eb6800f46822ff3e7aa /editor/editor_settings.cpp | |
parent | e7ab3a41326117938d8397562cf796da6a6d1780 (diff) | |
parent | 5ae90517712cc0c887199c4369aed251d84b1bde (diff) |
Merge pull request #45924 from reduz/icon-saturation
Add ability to change Icon Saturation
Diffstat (limited to 'editor/editor_settings.cpp')
-rw-r--r-- | editor/editor_settings.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_settings.cpp b/editor/editor_settings.cpp index e37173bf68..6026181615 100644 --- a/editor/editor_settings.cpp +++ b/editor/editor_settings.cpp @@ -392,6 +392,8 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) { hints["interface/theme/accent_color"] = PropertyInfo(Variant::COLOR, "interface/theme/accent_color", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_DEFAULT); _initial_set("interface/theme/contrast", 0.25); hints["interface/theme/contrast"] = PropertyInfo(Variant::FLOAT, "interface/theme/contrast", PROPERTY_HINT_RANGE, "0.01, 1, 0.01"); + _initial_set("interface/theme/icon_saturation", 1.0); + hints["interface/theme/icon_saturation"] = PropertyInfo(Variant::FLOAT, "interface/theme/icon_saturation", PROPERTY_HINT_RANGE, "0,2,0.01", PROPERTY_USAGE_DEFAULT); _initial_set("interface/theme/relationship_line_opacity", 0.1); hints["interface/theme/relationship_line_opacity"] = PropertyInfo(Variant::FLOAT, "interface/theme/relationship_line_opacity", PROPERTY_HINT_RANGE, "0.00, 1, 0.01"); _initial_set("interface/theme/highlight_tabs", false); |