From 36d25951dc147efc032bb0390b3b65c0c43ef129 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Mon, 5 Jun 2017 19:21:19 +0300 Subject: Fix scrolling flickering on backwards pagination --- include/TimelineView.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include') 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 pending_msgs_; QSharedPointer client_; }; -- cgit 1.5.1