use catch up scrolling when dragging items
This commit is contained in:
@@ -771,7 +771,11 @@ void TimelineWidget::ViewMouseMoved(TimelineViewMouseEvent *event)
|
||||
if (GetConnectedNode()) {
|
||||
if (active_tool_) {
|
||||
active_tool_->MouseMove(event);
|
||||
|
||||
UpdateViewports();
|
||||
|
||||
QMetaObject::invokeMethod(this, "CatchUpScrollToPoint", Qt::QueuedConnection,
|
||||
Q_ARG(int, qRound(event->GetSceneX())));
|
||||
} else {
|
||||
// Mouse is not down, attempt a hover event
|
||||
TimelineTool* hover_tool = GetActiveTool();
|
||||
|
||||
Reference in New Issue
Block a user