[TextServer] Fix line breaks for dropcap and resizing embedded objects.

This commit is contained in:
bruvzg
2023-10-31 09:34:43 +02:00
parent 6afd320984
commit 9ad55dc32d
3 changed files with 8 additions and 7 deletions

View File

@ -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;