[TextServer] Fix line breaks for dropcap and resizing embedded objects.
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user