diff options
author | jmb462 <jmb462@gmail.com> | 2022-02-06 20:17:35 +0100 |
---|---|---|
committer | jmb462 <jmb462@gmail.com> | 2022-02-06 23:06:11 +0100 |
commit | a988fad9a092053434545c32afae91ccbdfbe792 (patch) | |
tree | 90b0666a880ef744364d65102195561dd93a56bc /editor/editor_sectioned_inspector.cpp | |
parent | 95719930a8940d4737d512d75004e8b5cd50e825 (diff) | |
download | redot-engine-a988fad9a092053434545c32afae91ccbdfbe792.tar.gz |
Add missing SNAME macro optimization to all theme methods call
Diffstat (limited to 'editor/editor_sectioned_inspector.cpp')
-rw-r--r-- | editor/editor_sectioned_inspector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_sectioned_inspector.cpp b/editor/editor_sectioned_inspector.cpp index 1bab56ac4a..012f10a1bd 100644 --- a/editor/editor_sectioned_inspector.cpp +++ b/editor/editor_sectioned_inspector.cpp @@ -302,7 +302,7 @@ SectionedInspector::SectionedInspector() : sections(memnew(Tree)), filter(memnew(SectionedInspectorFilter)), inspector(memnew(EditorInspector)) { - add_theme_constant_override("autohide", 1); // Fixes the dragger always showing up + add_theme_constant_override(SNAME("autohide"), 1); // Fixes the dragger always showing up VBoxContainer *left_vb = memnew(VBoxContainer); left_vb->set_custom_minimum_size(Size2(190, 0) * EDSCALE); |