shift timelineview scroll code into base classes

Fixes #2060
This commit is contained in:
itsmattkc
2022-10-24 12:01:47 -07:00
parent f81445527f
commit bdbfb56879
8 changed files with 61 additions and 84 deletions
@@ -50,6 +50,8 @@ protected:
virtual void ZoomIntoCursorPosition(QWheelEvent* event, double multiplier, const QPointF &cursor_pos);
void SetIsTimelineAxes(bool e) { is_timeline_axes_ = e; }
private:
bool dragging_hand_;
DragMode pre_hand_drag_mode_;
@@ -58,6 +60,8 @@ private:
QPointF transformed_pos_;
bool is_timeline_axes_;
private slots:
void ApplicationToolChanged(Tool::Item tool);