Fix right alignment in RichTextLabel

This commit is contained in:
kobewi 2021-11-29 14:01:28 +01:00
parent c9208704de
commit 820f7c9d15

View file

@ -222,7 +222,7 @@ int RichTextLabel::_process_line(ItemFrame *p_frame, const Vector2 &p_ofs, int &
if (align != ALIGN_FILL) \
wofs += line_ofs; \
} else { \
int used = wofs - margin; \
float used = wofs - margin; \
switch (align) { \
case ALIGN_LEFT: \
l.offset_caches.push_back(0); \