Browse Source

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

reviewable/pr6074/r1
bodwok 6 years ago
parent
commit
1aad91944e
No known key found for this signature in database
GPG Key ID: A279D059178DA7BA
  1. 2
      src/chatlog/chatlog.cpp

2
src/chatlog/chatlog.cpp

@ -410,6 +410,8 @@ void ChatLog::insertChatlineAtBottom(const QList<ChatLine::Ptr>& newLines) @@ -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…
Cancel
Save