diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-31 14:16:02 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-31 14:16:02 +0200 |
commit | b201c087ab3a3dbe755f2e16c69c9550ce69d0bf (patch) | |
tree | 58b1abb2c8bd2f95a48680176ce00fbc1fbb4ddc /editor/plugins/animation_player_editor_plugin.cpp | |
parent | ea4db5c3e157f304ccf2e85e2057ba4f82e59755 (diff) | |
parent | 926afccbd88c8550964daa73ab3de2c5ab30aa80 (diff) | |
download | redot-engine-b201c087ab3a3dbe755f2e16c69c9550ce69d0bf.tar.gz |
Merge pull request #91950 from AThousandShips/panel_sname
[Scene] Add `SceneStringNames::panel`
Diffstat (limited to 'editor/plugins/animation_player_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/animation_player_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/animation_player_editor_plugin.cpp b/editor/plugins/animation_player_editor_plugin.cpp index 37db074142..cc8e21643c 100644 --- a/editor/plugins/animation_player_editor_plugin.cpp +++ b/editor/plugins/animation_player_editor_plugin.cpp @@ -129,12 +129,12 @@ void AnimationPlayerEditor::_notification(int p_what) { get_tree()->connect(SNAME("node_removed"), callable_mp(this, &AnimationPlayerEditor::_node_removed)); - add_theme_style_override("panel", EditorNode::get_singleton()->get_editor_theme()->get_stylebox(SNAME("panel"), SNAME("Panel"))); + add_theme_style_override(SceneStringName(panel), EditorNode::get_singleton()->get_editor_theme()->get_stylebox(SceneStringName(panel), SNAME("Panel"))); } break; case EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED: { if (EditorThemeManager::is_generated_theme_outdated()) { - add_theme_style_override("panel", EditorNode::get_singleton()->get_editor_theme()->get_stylebox(SNAME("panel"), SNAME("Panel"))); + add_theme_style_override(SceneStringName(panel), EditorNode::get_singleton()->get_editor_theme()->get_stylebox(SceneStringName(panel), SNAME("Panel"))); } } break; |