mirror of
https://github.com/godotengine/godot.git
synced 2025-01-30 21:33:18 +08:00
Fix crash (and bug) in RichTextLabel
This commit is contained in:
parent
1c0007ba71
commit
f08768c189
@ -453,7 +453,7 @@ int RichTextLabel::_process_line(ItemFrame *p_frame, const Vector2 &p_ofs, int &
|
||||
for (int i = 0; i < frame->lines.size(); i++) {
|
||||
|
||||
_process_line(frame, Point2(), ly, p_width, i, PROCESS_CACHE, cfont, Color());
|
||||
table->columns[column].min_width = MAX(table->columns[i].min_width, frame->lines[i].minimum_width);
|
||||
table->columns[column].min_width = MAX(table->columns[column].min_width, frame->lines[i].minimum_width);
|
||||
}
|
||||
idx++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user