don't scroll sides when using hand tool

This commit is contained in:
itsmattkc
2019-03-14 19:48:05 +11:00
parent 53334b5399
commit bda0fdf376
+1 -1
View File
@@ -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);
}