Allow selecting text in shader compilation logs

This commit is contained in:
Marc Gilleron 2022-11-20 19:15:39 +00:00
parent 98da707df5
commit e0d2b7835d

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);
}