fixed redraw issue

This commit is contained in:
fourtf
2018-12-02 19:20:14 +01:00
parent fa24a2acd0
commit bd8fab7e68
6 changed files with 14 additions and 9 deletions
+1 -1
View File
@@ -352,7 +352,7 @@ void ChannelView::layoutVisibleMessages(
auto y = int(-(messages[start]->getHeight() *
(fmod(this->scrollBar_->getCurrentValue(), 1))));
for (auto i = start; i < messages.size() && y >= this->height(); i++)
for (auto i = start; i < messages.size() && y <= this->height(); i++)
{
auto message = messages[i];