1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(chatlog): fixed rendering of new messages when scrolling up

This commit is contained in:
bodwok 2020-04-07 19:58:00 +03:00
parent f6daafe914
commit 1aad91944e
No known key found for this signature in database
GPG Key ID: A279D059178DA7BA

View File

@ -410,6 +410,8 @@ void ChatLog::insertChatlineAtBottom(const QList<ChatLine::Ptr>& newLines)
// redo layout only when scrolled down
if(stickToBottom()) {
startResizeWorker(true);
} else {
updateSceneRect();
}
}