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
+8
View File
@@ -204,6 +204,14 @@ private slots:
void ScrollBarResized(const double& multiplier);
/**
* @brief Slot to handle page scrolling of the playhead
*
* If the playhead is outside the current scroll bounds, this function will scroll to where it is. Otherwise it will
* do nothing.
*/
void PageScrollToPlayhead();
};
}