diff options
author | jmb462 <jmb462@gmail.com> | 2021-08-20 14:48:34 +0200 |
---|---|---|
committer | jmb462 <jmb462@gmail.com> | 2021-08-20 14:50:24 +0200 |
commit | 54de7114c5bdaa2ee64ad6fd2e2cc40063016eb9 (patch) | |
tree | 98614dc39f3a11560c13d9337c3c8f17b989472b /editor/editor_properties.cpp | |
parent | 75697c0dfda2c4bbb5456b78d54cd6a2664c8a49 (diff) |
Add missing SNAME macro optimization for StringName 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 99619cfc40..4475c8b8d6 100644 --- a/editor/editor_properties.cpp +++ b/editor/editor_properties.cpp @@ -2810,8 +2810,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); |