1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

Add missing cache clear in RichTextLabel::_process_line

This commit is contained in:
Haoyu Qiu
2021-10-20 23:46:57 +08:00
parent 485d9c3054
commit 37ef6036d0

View File

@@ -174,6 +174,7 @@ int RichTextLabel::_process_line(ItemFrame *p_frame, const Vector2 &p_ofs, int &
l.height_caches.clear();
l.ascent_caches.clear();
l.descent_caches.clear();
l.space_caches.clear();
l.char_count = 0;
l.minimum_width = 0;
l.maximum_width = 0;