Merge pull request #65993 from jeffres/fix-highligthing-of-selected-file-in-shader-editor

This commit is contained in:
Yuri Rubinsky 2022-09-17 22:14:44 +03:00 committed by GitHub
commit 4ab3fdcda0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1366,6 +1366,7 @@ void ShaderEditorPlugin::_shader_selected(int p_index) {
edited_shaders[p_index].shader_editor->validate_script();
}
shader_tabs->set_current_tab(p_index);
shader_list->select(p_index);
}
void ShaderEditorPlugin::_shader_list_clicked(int p_item, Vector2 p_local_mouse_pos, MouseButton p_mouse_button_index) {