fixing highlightline not following the drag position
This commit is contained in:
parent
7db5db019c
commit
010e194d1c
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue