From a1a23cf6c5cbe75f015d6bd6930cbb864ce6bab7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Liru=20F=C3=A6rs?= Date: Sun, 18 Aug 2019 03:33:15 -0400 Subject: [PATCH] At least draw the hidden item... I'll fix this later --- indra/llui/llscrolllistctrl.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/indra/llui/llscrolllistctrl.cpp b/indra/llui/llscrolllistctrl.cpp index 4845ff115..2acdb5e02 100644 --- a/indra/llui/llscrolllistctrl.cpp +++ b/indra/llui/llscrolllistctrl.cpp @@ -1520,7 +1520,10 @@ void LLScrollListCtrl::drawItems() } should_continue |= item->draw(pass, item_rect, fg_color, bg_color, highlight_color, mColumnPadding); - if (++line >= last_line) break; // Don't draw any more than needed. + if (++line > last_line) + { + break; // Don't draw any more than needed. + } } } done = !should_continue;