mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-27 22:33:08 +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 {
|
||||
id: activityModel
|
||||
}
|
||||
highlight: PlasmaComponents.Highlight {}
|
||||
delegate: MouseArea {
|
||||
id: delegate
|
||||
drag {
|
||||
target: delegate
|
||||
target: listView.count > 0 && !model.current? delegate : null
|
||||
axis: Drag.XAxis
|
||||
}
|
||||
PlasmaComponents.Highlight {
|
||||
visible: model.current
|
||||
anchors.fill:parent
|
||||
}
|
||||
SequentialAnimation {
|
||||
id: positionAnim
|
||||
property alias to: xAnim.to
|
||||
|
|
|
|||
Loading…
Reference in a new issue