Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Fix timeline corruption: Don't allow scrolling while resizing a clip

parent f977531b
......@@ -320,6 +320,10 @@ void CustomTrackView::wheelEvent(QWheelEvent * e)
else emit zoomOut();
}
} else {
if (m_operationMode == ResizeStart || m_operationMode == ResizeEnd) {
// Don't allow scrolling + resizing
return;
}
if (e->delta() <= 0) horizontalScrollBar()->setValue(horizontalScrollBar()->value() + horizontalScrollBar()->singleStep());
else horizontalScrollBar()->setValue(horizontalScrollBar()->value() - horizontalScrollBar()->singleStep());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment