mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Unify Scripts Panel naming for the script and shader editors
Both use the same shortcut and action, so it makes sense to call it a Files panel as opposed to a Scripts panel.
This commit is contained in:
parent
4248411baf
commit
e8eeccebcb
15 changed files with 97 additions and 97 deletions
|
|
@ -601,8 +601,8 @@ void TextEditor::_make_context_menu(bool p_selection, bool p_can_fold, bool p_is
|
|||
context_menu->popup();
|
||||
}
|
||||
|
||||
void TextEditor::update_toggle_scripts_button() {
|
||||
code_editor->update_toggle_scripts_button();
|
||||
void TextEditor::update_toggle_files_button() {
|
||||
code_editor->update_toggle_files_button();
|
||||
}
|
||||
|
||||
TextEditor::TextEditor() {
|
||||
|
|
@ -613,7 +613,7 @@ TextEditor::TextEditor() {
|
|||
code_editor->connect("validate_script", callable_mp(this, &TextEditor::_validate_script));
|
||||
code_editor->set_anchors_and_offsets_preset(Control::PRESET_FULL_RECT);
|
||||
code_editor->set_v_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
code_editor->show_toggle_scripts_button();
|
||||
code_editor->show_toggle_files_button();
|
||||
code_editor->set_toggle_list_control(ScriptEditor::get_singleton()->get_left_list_split());
|
||||
|
||||
update_settings();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue