mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Merge pull request #113550 from bruvzg/rtl_rel_of
[RTL] Fix relative index getting out of sync.
This commit is contained in:
commit
30fee670ba
1 changed files with 1 additions and 0 deletions
|
|
@ -4033,6 +4033,7 @@ void RichTextLabel::add_text(const String &p_text) {
|
||||||
//append text condition!
|
//append text condition!
|
||||||
ItemText *ti = static_cast<ItemText *>(current->subitems.back()->get());
|
ItemText *ti = static_cast<ItemText *>(current->subitems.back()->get());
|
||||||
ti->text += line;
|
ti->text += line;
|
||||||
|
current_char_ofs += line.length();
|
||||||
_invalidate_current_line(main);
|
_invalidate_current_line(main);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue