Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix: update workerStb
Browse files Browse the repository at this point in the history
  • Loading branch information
TriKriSta authored and anthonybilinski committed Aug 28, 2019
1 parent 6de307e commit 177bf12
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/chatlog/chatlog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -936,10 +936,12 @@ void ChatLog::onWorkerTimeout()
updateMultiSelectionRect();

// scroll
if (workerStb)
if (workerStb) {
scrollToBottom();
else
workerStb = false;
} else {
scrollToLine(workerAnchorLine);
}

// don't keep a Ptr to the anchor line
workerAnchorLine = ChatLine::Ptr();
Expand Down

0 comments on commit 177bf12

Please sign in to comment.