diff options
Diffstat (limited to 'scene/gui/label.cpp')
| -rw-r--r-- | scene/gui/label.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/scene/gui/label.cpp b/scene/gui/label.cpp index 9242105b47..aec9722fec 100644 --- a/scene/gui/label.cpp +++ b/scene/gui/label.cpp @@ -299,9 +299,6 @@ void Label::_update_visible() { int last_line = MIN(lines_rid.size(), lines_visible + lines_skipped); for (int64_t i = lines_skipped; i < last_line; i++) { minsize.height += TS->shaped_text_get_size(lines_rid[i]).y + line_spacing; - if (minsize.height > (get_size().height - style->get_minimum_size().height + line_spacing)) { - break; - } } if (minsize.height > 0) { minsize.height -= line_spacing; |
