diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-09-23 13:14:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-23 13:14:20 +0200 |
commit | 88b347dc2787aac2d52254787cc3a91e5807c4dd (patch) | |
tree | 36340713a8915b3ac4df208203f7ea7c9b64b22f /editor/editor_properties.cpp | |
parent | 011866edcd917320f4e9e0afaa548024580c4bf7 (diff) | |
parent | 54de7114c5bdaa2ee64ad6fd2e2cc40063016eb9 (diff) |
Merge pull request #51920 from jmb462/missing-sname-macro-optimization-in-some-functions
Diffstat (limited to 'editor/editor_properties.cpp')
-rw-r--r-- | editor/editor_properties.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_properties.cpp b/editor/editor_properties.cpp index 6c0d11cc6b..c0dadc4484 100644 --- a/editor/editor_properties.cpp +++ b/editor/editor_properties.cpp @@ -2951,8 +2951,8 @@ void EditorPropertyResource::_update_property_bg() { count_subinspectors = MIN(15, count_subinspectors); add_theme_color_override("property_color", get_theme_color(SNAME("sub_inspector_property_color"), SNAME("Editor"))); - add_theme_style_override("bg_selected", get_theme_stylebox("sub_inspector_property_bg_selected" + itos(count_subinspectors), "Editor")); - add_theme_style_override("bg", get_theme_stylebox("sub_inspector_property_bg" + itos(count_subinspectors), "Editor")); + add_theme_style_override("bg_selected", get_theme_stylebox("sub_inspector_property_bg_selected" + itos(count_subinspectors), SNAME("Editor"))); + add_theme_style_override("bg", get_theme_stylebox("sub_inspector_property_bg" + itos(count_subinspectors), SNAME("Editor"))); add_theme_constant_override("font_offset", get_theme_constant(SNAME("sub_inspector_font_offset"), SNAME("Editor"))); add_theme_constant_override("vseparation", 0); |