From bda0fdf37643af7e2d736701d2aaf11b201fa4e8 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Thu, 14 Mar 2019 19:48:05 +1100 Subject: [PATCH] don't scroll sides when using hand tool --- ui/timelinewidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/timelinewidget.cpp b/ui/timelinewidget.cpp index 8087085d3..01252a49f 100644 --- a/ui/timelinewidget.cpp +++ b/ui/timelinewidget.cpp @@ -2000,7 +2000,7 @@ void TimelineWidget::mouseMoveEvent(QMouseEvent *event) { panel_timeline->cursor_track = getTrackFromScreenPoint(event->pos().y()); // if holding the mouse button down, let's scroll to that location - if (event->buttons() != 0) { + if (event->buttons() != 0 && panel_timeline->tool != TIMELINE_TOOL_HAND) { panel_timeline->scroll_to_frame(panel_timeline->cursor_frame); }