scroll only in increments when dragging the playhead

This commit is contained in:
itsmattkc
2021-01-24 18:38:57 +11:00
parent 0f38769208
commit 2c7e974f78
6 changed files with 98 additions and 31 deletions
+7 -1
View File
@@ -121,7 +121,7 @@ protected:
TimelinePoints* GetConnectedTimelinePoints() const;
void ConnectTimelineView(TimeBasedView* base);
void ConnectTimelineView(TimeBasedView* base, bool connect_time_change_event = true);
void PassWheelEventsToScrollBar(QObject* object);
@@ -184,6 +184,10 @@ private:
*/
void ResetPoint(Timeline::MovementMode m);
void PageScrollInternal(bool whole_page_scroll);
bool UserIsDraggingPlayhead() const;
ViewerOutput* viewer_node_;
TimeRuler* ruler_;
@@ -225,6 +229,8 @@ private slots:
*/
void PageScrollToPlayhead();
void CatchUpScrollToPlayhead();
};
}