1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

[Scene] Add SceneStringNames::panel

This commit is contained in:
A Thousand Ships
2024-05-14 15:50:53 +02:00
parent 755a0efbb6
commit 926afccbd8
55 changed files with 149 additions and 145 deletions

View File

@@ -738,7 +738,7 @@ ShaderEditorPlugin::ShaderEditorPlugin() {
main_split->add_child(shader_tabs);
Ref<StyleBoxEmpty> empty;
empty.instantiate();
shader_tabs->add_theme_style_override("panel", empty);
shader_tabs->add_theme_style_override(SceneStringName(panel), empty);
button = EditorNode::get_bottom_panel()->add_item(TTR("Shader Editor"), window_wrapper, ED_SHORTCUT_AND_COMMAND("bottom_panels/toggle_shader_editor_bottom_panel", TTR("Toggle Shader Editor Bottom Panel"), KeyModifierMask::ALT | Key::S));