Fix scrolling flickering on backwards pagination
This commit is contained in:
parent
95c492bad8
commit
36d25951dc
2 changed files with 21 additions and 7 deletions
|
|
@ -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_;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue