mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge pull request #6074
bodwok (1): fix(chatlog): fixed rendering of new messages when scrolling up
This commit is contained in:
commit
b2b2fa149e
|
@ -410,6 +410,8 @@ void ChatLog::insertChatlineAtBottom(const QList<ChatLine::Ptr>& newLines)
|
|||
// redo layout only when scrolled down
|
||||
if(stickToBottom()) {
|
||||
startResizeWorker(true);
|
||||
} else {
|
||||
updateSceneRect();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user