1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +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:
Hugo Locurcio
2025-04-07 19:07:33 +02:00
parent 4248411baf
commit e8eeccebcb
15 changed files with 97 additions and 97 deletions

View File

@@ -165,8 +165,8 @@ class CodeTextEditor : public VBoxContainer {
FindReplaceBar *find_replace_bar = nullptr;
HBoxContainer *status_bar = nullptr;
Button *toggle_scripts_button = nullptr;
Control *toggle_scripts_list = nullptr;
Button *toggle_files_button = nullptr;
Control *toggle_files_list = nullptr;
Button *error_button = nullptr;
Button *warning_button = nullptr;
@@ -220,7 +220,7 @@ class CodeTextEditor : public VBoxContainer {
void _zoom_popup_id_pressed(int p_idx);
void _toggle_scripts_pressed();
void _toggle_files_pressed();
protected:
virtual void _load_theme_settings() {}
@@ -298,8 +298,8 @@ public:
void validate_script();
void set_toggle_list_control(Control *p_control);
void show_toggle_scripts_button();
void update_toggle_scripts_button();
void show_toggle_files_button();
void update_toggle_files_button();
CodeTextEditor();
};