moved autoscroll code to TimeBasedWidget rather than TimelineViewBase

Better place for it. Fixes #1406
This commit is contained in:
itsmattkc
2020-11-25 10:00:57 +11:00
parent bd2b3f7a7c
commit c7f5af9534
7 changed files with 37 additions and 41 deletions
-1
View File
@@ -89,7 +89,6 @@ CurveWidget::CurveWidget(QWidget *parent) :
ruler_view_layout->addWidget(ruler());
view_ = new CurveView();
connect(view_, &CurveView::RequestCenterScrollOnPlayhead, this, &CurveWidget::CenterScrollOnPlayhead);
ConnectTimelineView(view_);
ruler_view_layout->addWidget(view_);