components/GridView: reset highlight when dragging

This commit is contained in:
Yari Polla 2023-03-12 21:02:52 +01:00
parent a414563c02
commit 99d01f2d2a

View file

@ -19,6 +19,12 @@ GridView {
} }
} }
onDraggingChanged: {
if (dragging) {
currentIndex = -1;
}
}
Component { Component {
id: highlightComponent id: highlightComponent
Rectangle { Rectangle {