diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2023-10-31 09:34:43 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2023-10-31 22:39:42 +0200 |
commit | 9ad55dc32df2ae06eface1a4ebb5a37478600134 (patch) | |
tree | 297fbb8aa54fd05f88208640b3f5113536f6839a /modules/text_server_adv | |
parent | 6afd320984cf14198368cc6c53752813a02169e3 (diff) | |
download | redot-engine-9ad55dc32df2ae06eface1a4ebb5a37478600134.tar.gz |
[TextServer] Fix line breaks for dropcap and resizing embedded objects.
Diffstat (limited to 'modules/text_server_adv')
-rw-r--r-- | modules/text_server_adv/text_server_adv.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/text_server_adv/text_server_adv.cpp b/modules/text_server_adv/text_server_adv.cpp index 8987a491cb..eaab04b49a 100644 --- a/modules/text_server_adv/text_server_adv.cpp +++ b/modules/text_server_adv/text_server_adv.cpp @@ -4312,6 +4312,8 @@ bool TextServerAdvanced::_shaped_text_resize_object(const RID &p_shaped, const V sd->width += gl.advance * gl.repeat; } } + sd->sort_valid = false; + sd->glyphs_logical.clear(); _realign(sd); } return true; |