remove containment drag resistaner

work/spdx
Michail Vourlakos 4 years ago
parent f37fde5824
commit 61d091fdda

@ -155,12 +155,9 @@ DragDrop.DropArea {
}
}
if (!dragResistaner.running) {
dragResistaner.start();
root.layoutManager().insertAtCoordinates2(dndSpacer, event.x, event.y)
dndSpacer.opacity = 1;
}
}
onDragMove: {
clearInfoTimer.stop();
@ -187,17 +184,9 @@ DragDrop.DropArea {
}
}
if (!dragResistaner.running) {
dragResistaner.start();
root.layoutManager().insertAtCoordinates2(dndSpacer, event.x, event.y)
dndSpacer.opacity = 1;
}
}
Timer {
id: dragResistaner
interval: 450
}
onDragLeave: {
animations.needLength.removeEvent(dragArea);

Loading…
Cancel
Save