Merge pull request #68928 from Zylann/shader_log_allow_selection

Allow selecting text in shader compilation logs
This commit is contained in:
Rémi Verschelde 2022-11-20 23:25:24 +01:00
commit 82992523c0
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -286,6 +286,7 @@ ShaderFileEditor::ShaderFileEditor() {
error_text = memnew(RichTextLabel);
error_text->set_v_size_flags(SIZE_EXPAND_FILL);
error_text->set_selection_enabled(true);
main_vb->add_child(error_text);
}