mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 04:06:14 +00:00
Merge pull request #40081 from nekomatata/richtextlabel-fill-regression
Fix RichTextLabel fill alignment regression
This commit is contained in:
commit
9a82c3d6a5
@ -256,7 +256,7 @@ int RichTextLabel::_process_line(ItemFrame *p_frame, const Vector2 &p_ofs, int &
|
||||
lh = line < l.height_caches.size() ? l.height_caches[line] : 1; \
|
||||
line_ascent = line < l.ascent_caches.size() ? l.ascent_caches[line] : 1; \
|
||||
line_descent = line < l.descent_caches.size() ? l.descent_caches[line] : 1; \
|
||||
if (p_mode == PROCESS_DRAW) { \
|
||||
if ((p_mode == PROCESS_DRAW) && (align != ALIGN_FILL)) { \
|
||||
if (line < l.offset_caches.size()) { \
|
||||
wofs = l.offset_caches[line]; \
|
||||
} \
|
||||
|
Loading…
Reference in New Issue
Block a user