Godot Engine – Multi-platform 2D and 3D game engine
Make `toggle_files_button` flat
Simon Döhl7b5268371f54
diff --git a/editor/script/script_editor_plugin.cpp b/editor/script/script_editor_plugin.cppindex 6d650adf0ea..b2dde4e4ff1 100644--- a/editor/script/script_editor_plugin.cpp+++ b/editor/script/script_editor_plugin.cpp@@ -4220,6 +4220,7 @@ ScriptEditor::ScriptEditor(const String &p_config_section, const String &p_cachetoggle_files_button->connect(SceneStringName(toggled), callable_mp(this, &ScriptEditor::_toggle_files_pressed));toggle_files_button->set_accessibility_name(TTRC("Toggle Document List"));toggle_files_button->set_toggle_mode(true);+ toggle_files_button->set_flat(true);toggle_files_button->set_shortcut_context(this);toggle_files_button->set_shortcut(ED_GET_SHORTCUT("script_editor/toggle_files_panel"));menu_hb->add_child(toggle_files_button);