summaryrefslogtreecommitdiffstats
path: root/editor/plugins/animation_blend_space_1d_editor.cpp
diff options
context:
space:
mode:
authorA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-05-14 15:50:53 +0200
committerA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-05-30 22:54:50 +0200
commit926afccbd88c8550964daa73ab3de2c5ab30aa80 (patch)
treecb1ed5b8512fb735d337dcf88fd883861b8f2bf4 /editor/plugins/animation_blend_space_1d_editor.cpp
parent755a0efbb66ce40ec7399103b34094e734bf09bf (diff)
downloadredot-engine-926afccbd88c8550964daa73ab3de2c5ab30aa80.tar.gz
[Scene] Add `SceneStringNames::panel`
Diffstat (limited to 'editor/plugins/animation_blend_space_1d_editor.cpp')
-rw-r--r--editor/plugins/animation_blend_space_1d_editor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/animation_blend_space_1d_editor.cpp b/editor/plugins/animation_blend_space_1d_editor.cpp
index 2eed2b4775..52ea7ff0ba 100644
--- a/editor/plugins/animation_blend_space_1d_editor.cpp
+++ b/editor/plugins/animation_blend_space_1d_editor.cpp
@@ -573,9 +573,9 @@ void AnimationNodeBlendSpace1DEditor::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_ENTER_TREE:
case NOTIFICATION_THEME_CHANGED: {
- error_panel->add_theme_style_override("panel", get_theme_stylebox(SNAME("panel"), SNAME("Tree")));
+ error_panel->add_theme_style_override(SceneStringName(panel), get_theme_stylebox(SceneStringName(panel), SNAME("Tree")));
error_label->add_theme_color_override("font_color", get_theme_color(SNAME("error_color"), EditorStringName(Editor)));
- panel->add_theme_style_override("panel", get_theme_stylebox(SNAME("panel"), SNAME("Tree")));
+ panel->add_theme_style_override(SceneStringName(panel), get_theme_stylebox(SceneStringName(panel), SNAME("Tree")));
tool_blend->set_icon(get_editor_theme_icon(SNAME("EditPivot")));
tool_select->set_icon(get_editor_theme_icon(SNAME("ToolSelect")));
tool_create->set_icon(get_editor_theme_icon(SNAME("EditKey")));