1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-09-02 10:24:01 +02:00

make GridView smooth

fix toggleViewButtons
This commit is contained in:
Michael Zanetti
2012-12-16 16:16:34 +01:00
parent 9fa95fabd2
commit 9374b3b50b
2 changed files with 2 additions and 1 deletions

View File

@@ -43,6 +43,7 @@ Rectangle {
artworkId: model.coverID
showPlayButton: true
currentlyPlaying: isPlaying
smooth: true
onClicked: {
rootView.onItemClicked(index)

View File

@@ -18,7 +18,7 @@ Row {
height: repeater.height
width: height
source: "../../images/view-toggle-" + (index === root.currentIndex ? "pressed-" : "inactive-" ) + (index === 0 ? "left" : ( index === repeater.count - 1 ? "right" : "centre" )) + ".svg"
source: "../../images/view-toggle-" + (index === root.currentIndex ? "active-" : "inactive-" ) + (index === 0 ? "left" : ( index === repeater.count - 1 ? "right" : "centre" )) + ".svg"
smooth: true
Image {
anchors.fill: parent