You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-04 17:04:49 +00:00
Fix trim overrun width not being reset.
This commit is contained in:
@@ -2683,6 +2683,7 @@ void TextServerFallback::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;
|
||||
|
||||
Reference in New Issue
Block a user