mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-28 22:53:09 +00:00
correct highlighted activity
This commit is contained in:
parent
b413f8b664
commit
4eec991a3c
1 changed files with 5 additions and 2 deletions
|
|
@ -31,13 +31,16 @@ ColumnLayout {
|
||||||
model: Activities.ActivityModel {
|
model: Activities.ActivityModel {
|
||||||
id: activityModel
|
id: activityModel
|
||||||
}
|
}
|
||||||
highlight: PlasmaComponents.Highlight {}
|
|
||||||
delegate: MouseArea {
|
delegate: MouseArea {
|
||||||
id: delegate
|
id: delegate
|
||||||
drag {
|
drag {
|
||||||
target: delegate
|
target: listView.count > 0 && !model.current? delegate : null
|
||||||
axis: Drag.XAxis
|
axis: Drag.XAxis
|
||||||
}
|
}
|
||||||
|
PlasmaComponents.Highlight {
|
||||||
|
visible: model.current
|
||||||
|
anchors.fill:parent
|
||||||
|
}
|
||||||
SequentialAnimation {
|
SequentialAnimation {
|
||||||
id: positionAnim
|
id: positionAnim
|
||||||
property alias to: xAnim.to
|
property alias to: xAnim.to
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue