fixing highlightline not following the drag position

This commit is contained in:
Chris Cochrun 2022-11-30 11:34:26 -06:00
parent 7db5db019c
commit 010e194d1c

View file

@ -100,7 +100,10 @@ Item {
onEntered: (drag) => { onEntered: (drag) => {
if (drag.keys[0] === "library") { if (drag.keys[0] === "library") {
dropHighlightLine.visible = true; dropHighlightLine.visible = true;
dropHighlightLine.y = y - 2; showPassiveNotification("Y is: " + serviceDrop.mapToItem(
serviceItemList,0,0).y);
dropHighlightLine.y = serviceDrop.mapToItem(
serviceItemList,0,0).y - 2;
} }
} }