slip tool implemented

This commit is contained in:
itsmattkc
2019-09-23 23:50:03 +10:00
parent 372fc25667
commit 85c9687f91
10 changed files with 135 additions and 18 deletions
+3 -1
View File
@@ -94,7 +94,9 @@ void TimelineView::PointerTool::MouseRelease(QMouseEvent *event)
// Default QGraphicsView behavior (item selection)
parent()->QGraphicsView::mouseReleaseEvent(event);
MouseReleaseInternal(event);
if (!parent()->ghost_items_.isEmpty()) {
MouseReleaseInternal(event);
}
if (dragging_) {
parent()->ClearGhosts();