You've already forked godot
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:
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user