Support navigate to the script list.
This commit is contained in:
parent
04249468d3
commit
d1b09ffaf5
2 changed files with 75 additions and 12 deletions
|
|
@ -359,7 +359,11 @@ class ScriptEditor : public PanelContainer {
|
|||
|
||||
float zoom_factor = 1.0f;
|
||||
|
||||
Label *script_name_label = nullptr;
|
||||
HBoxContainer *script_name_button_hbox = nullptr;
|
||||
Control *script_name_button_left_spacer = nullptr;
|
||||
Control *script_name_button_right_spacer = nullptr;
|
||||
Button *script_name_button = nullptr;
|
||||
int script_name_width = 0;
|
||||
|
||||
Button *script_back = nullptr;
|
||||
Button *script_forward = nullptr;
|
||||
|
|
@ -517,6 +521,9 @@ class ScriptEditor : public PanelContainer {
|
|||
void _script_list_clicked(int p_item, Vector2 p_local_mouse_pos, MouseButton p_mouse_button_index);
|
||||
void _make_script_list_context_menu();
|
||||
|
||||
void _calculate_script_name_button_size();
|
||||
void _calculate_script_name_button_ratio();
|
||||
|
||||
void _help_search(const String &p_text);
|
||||
|
||||
void _history_forward();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue