Commit 946cea29 authored by Shantanu Tushar's avatar Shantanu Tushar
Browse files

Change the current playlist item depending on mouse hover.

Patch by Ashish Madeti <ashishmadeti@gmail.com>

BUG: 329168
REVIEW: 116596
parent 86f20ec9
......@@ -127,7 +127,7 @@ FocusScope {
Timer {
id: positionViewAtIndexTimer
interval: 10
onTriggered: playlistList.positionViewAtIndex(playlistList.currentIndex, ListView.Center);
onTriggered: playlistList.positionViewAtIndex(playlistList.currentIndex, ListView.Contain);
}
onCurrentIndexChanged: {
......
......@@ -133,6 +133,7 @@ Item {
}
onClicked: requestPlayback()
onEntered: playlistList.currentIndex = index;
}
}
......
Supports Markdown
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