You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-20 14:45:44 +00:00
Fix get_visible_line_count in RichTextLabel with newlines
Fixed #59359.
(cherry picked from commit 32cdf9fad2)
This commit is contained in:
committed by
Rémi Verschelde
parent
f1231a7c7e
commit
00c346b325
@@ -714,7 +714,6 @@ int RichTextLabel::_process_line(ItemFrame *p_frame, const Vector2 &p_ofs, int &
|
|||||||
|
|
||||||
if (p_mode != PROCESS_CACHE) {
|
if (p_mode != PROCESS_CACHE) {
|
||||||
lh = line < l.height_caches.size() ? l.height_caches[line] : 1;
|
lh = line < l.height_caches.size() ? l.height_caches[line] : 1;
|
||||||
line_is_blank = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} break;
|
} break;
|
||||||
|
|||||||
Reference in New Issue
Block a user