1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-04 17:04:49 +00:00

Fixed issues with Editor Log after recent changes

Fixed #48446, Fixed #48443
This commit is contained in:
Eric M
2021-05-05 00:25:14 +10:00
parent ea9cab3e76
commit 87ffb213c8
2 changed files with 5 additions and 1 deletions

View File

@@ -2615,6 +2615,7 @@ void RichTextLabel::pop() {
// Creates a new line without adding an ItemNewline to the previous line.
// Useful when wanting to calling remove_line and add a new line immediately after.
void RichTextLabel::increment_line_count() {
_validate_line_caches(main);
current_frame->lines.resize(current_frame->lines.size() + 1);
_invalidate_current_line(current_frame);
}