1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

[RTL] Fix relative index getting out of sync.

This commit is contained in:
Pāvels Nadtočajevs
2025-12-04 10:26:14 +02:00
parent 63e14e13f9
commit 3eaab68485

View File

@@ -4033,6 +4033,7 @@ void RichTextLabel::add_text(const String &p_text) {
//append text condition!
ItemText *ti = static_cast<ItemText *>(current->subitems.back()->get());
ti->text += line;
current_char_ofs += line.length();
_invalidate_current_line(main);
} else {