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:
parent
f6daafe914
commit
1aad91944e
@ -410,6 +410,8 @@ void ChatLog::insertChatlineAtBottom(const QList<ChatLine::Ptr>& newLines)
|
|||||||
// redo layout only when scrolled down
|
// redo layout only when scrolled down
|
||||||
if(stickToBottom()) {
|
if(stickToBottom()) {
|
||||||
startResizeWorker(true);
|
startResizeWorker(true);
|
||||||
|
} else {
|
||||||
|
updateSceneRect();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user