Merge pull request #54031 from timothyqiu/rich-text-label-space-cache

This commit is contained in:
Rémi Verschelde 2021-10-20 18:32:03 +02:00 committed by GitHub
commit d65f06652e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;