You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Allow selecting text in shader compilation logs
This commit is contained in:
@@ -286,6 +286,7 @@ ShaderFileEditor::ShaderFileEditor() {
|
|||||||
|
|
||||||
error_text = memnew(RichTextLabel);
|
error_text = memnew(RichTextLabel);
|
||||||
error_text->set_v_size_flags(SIZE_EXPAND_FILL);
|
error_text->set_v_size_flags(SIZE_EXPAND_FILL);
|
||||||
|
error_text->set_selection_enabled(true);
|
||||||
main_vb->add_child(error_text);
|
main_vb->add_child(error_text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user