Organize toggle files button logic in shader editor

This commit is contained in:
Aaron Franke 2025-08-26 08:09:53 -07:00
parent 1ce3101fbc
commit 23fa9d8508
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF
8 changed files with 29 additions and 28 deletions

View file

@ -6461,8 +6461,8 @@ void VisualShaderEditor::_show_shader_preview() {
}
}
void VisualShaderEditor::set_toggle_list_control(Control *p_control) {
toggle_files_list = p_control;
void VisualShaderEditor::set_toggle_list_control(Control *p_toggle_list_control) {
toggle_files_list = p_toggle_list_control;
}
void VisualShaderEditor::_toggle_files_pressed() {