Commit 4eec991a authored by Marco Martin's avatar Marco Martin

correct highlighted activity

parent b413f8b6
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment