|
|
|
@ -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);
|
|
|
|
|