diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-09-27 21:51:18 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-09-27 21:51:18 +0300 |
commit | 11a49c2f29d7e4ee5937eebce5ea6b16d50c7eee (patch) | |
tree | b02f6613d96d7b01a6f4f939f0a93b3048210533 /modules/text_server_adv/text_server_adv.cpp | |
parent | 27417c065d992cef48f28ff3c9eb9ac6c15138aa (diff) |
Fix trim overrun width not being reset.
Diffstat (limited to 'modules/text_server_adv/text_server_adv.cpp')
-rw-r--r-- | modules/text_server_adv/text_server_adv.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/text_server_adv/text_server_adv.cpp b/modules/text_server_adv/text_server_adv.cpp index ef1411fb3b..c93f353cea 100644 --- a/modules/text_server_adv/text_server_adv.cpp +++ b/modules/text_server_adv/text_server_adv.cpp @@ -3573,6 +3573,7 @@ void TextServerAdvanced::shaped_text_overrun_trim_to_width(RID p_shaped_line, re shaped_text_shape(p_shaped_line); } + sd->text_trimmed = false; sd->overrun_trim_data.ellipsis_glyph_buf.clear(); bool add_ellipsis = (p_trim_flags & OVERRUN_ADD_ELLIPSIS) == OVERRUN_ADD_ELLIPSIS; |