mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
components/GridView: reset highlight when dragging
This commit is contained in:
parent
a414563c02
commit
99d01f2d2a
1 changed files with 6 additions and 0 deletions
|
|
@ -19,6 +19,12 @@ GridView {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
onDraggingChanged: {
|
||||||
|
if (dragging) {
|
||||||
|
currentIndex = -1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Component {
|
Component {
|
||||||
id: highlightComponent
|
id: highlightComponent
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue