fixing bug drag highlight doesn't disappear after canceling drag

This commit is contained in:
Chris Cochrun 2022-11-30 11:25:12 -06:00
parent 97d26278cb
commit 37c7038f6f
3 changed files with 9 additions and 3 deletions

View file

@ -253,12 +253,13 @@ Item {
dragItemFontSize = fontSize;
draggedLibraryItem = self;
} else {
songListItem.Drag.drop()
songListItem.Drag.drop();
dragHighlightLine.visible = false;
}
}
filterChildren: true
threshold: 10
/* onDropped: songDropped = true; */
/* onDropped: dragHighlightLine.visible = false; */
}
MouseArea {
id: songClickHandler
@ -555,6 +556,7 @@ Item {
dragItemBackground = filePath;
} else {
videoListItem.Drag.drop()
dragHighlightLine.visible = false;
}
}
filterChildren: true
@ -837,6 +839,7 @@ Item {
dragItemBackground = filePath;
} else {
imageListItem.Drag.drop()
dragHighlightLine.visible = false;
}
}
filterChildren: true
@ -1118,6 +1121,7 @@ Item {
dragItemBackground = filePath;
} else {
presListItem.Drag.drop()
dragHighlightLine.visible = false;
}
}
filterChildren: true