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_;
};
|