summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-06-05 19:21:19 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-06-05 19:21:19 +0300
commit36d25951dc147efc032bb0390b3b65c0c43ef129 (patch)
tree17c40c46acbb1490afdc79a10bccae313e18b4a7 /include
parentExperimental support for user avatars in timeline (diff)
downloadnheko-36d25951dc147efc032bb0390b3b65c0c43ef129.tar.xz
Fix scrolling flickering on backwards pagination
Diffstat (limited to 'include')
-rw-r--r--include/TimelineView.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/TimelineView.h b/include/TimelineView.h

index 67ea28b2..b50970b9 100644 --- a/include/TimelineView.h +++ b/include/TimelineView.h
@@ -111,12 +111,16 @@ private: bool isInitialized = false; bool isTimelineFinished = false; bool isInitialSync = true; + bool isPaginationScrollPending_ = false; - const int SCROLL_BAR_GAP = 300; + const int SCROLL_BAR_GAP = 400; int scroll_height_ = 0; int previous_max_height_ = 0; + int oldPosition_; + int oldHeight_; + QList<PendingMessage> pending_msgs_; QSharedPointer<MatrixClient> client_; };