use catch up scrolling when dragging items

This commit is contained in:
itsmattkc
2021-01-25 10:22:14 +11:00
parent 2da0aed942
commit 9f99182089
10 changed files with 73 additions and 26 deletions
+5 -1
View File
@@ -137,6 +137,8 @@ protected slots:
*/
void SetAutoSetTimebase(bool e);
static void PageScrollInternal(QScrollBar* bar, int maximum, int screen_position, bool whole_page_scroll);
signals:
void TimeChanged(const int64_t&);
@@ -184,7 +186,7 @@ private:
*/
void ResetPoint(Timeline::MovementMode m);
void PageScrollInternal(bool whole_page_scroll);
void PageScrollInternal(int screen_position, bool whole_page_scroll);
bool UserIsDraggingPlayhead() const;
@@ -231,6 +233,8 @@ private slots:
void CatchUpScrollToPlayhead();
void CatchUpScrollToPoint(int point);
};
}