At least draw the hidden item... I'll fix this later

This commit is contained in:
Liru Færs
2019-08-18 03:33:15 -04:00
parent 51974891a8
commit a1a23cf6c5

View File

@@ -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;