From 9374b3b50be5ff1ac674b03b985af21747d10589 Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Sun, 16 Dec 2012 16:16:34 +0100 Subject: [PATCH] make GridView smooth fix toggleViewButtons --- data/qml/QmlGridView.qml | 1 + data/qml/tomahawkimports/ToggleViewButtons.qml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/data/qml/QmlGridView.qml b/data/qml/QmlGridView.qml index af95e8efc..f1b7bce1a 100644 --- a/data/qml/QmlGridView.qml +++ b/data/qml/QmlGridView.qml @@ -43,6 +43,7 @@ Rectangle { artworkId: model.coverID showPlayButton: true currentlyPlaying: isPlaying + smooth: true onClicked: { rootView.onItemClicked(index) diff --git a/data/qml/tomahawkimports/ToggleViewButtons.qml b/data/qml/tomahawkimports/ToggleViewButtons.qml index 80714fd12..066d5f4c9 100644 --- a/data/qml/tomahawkimports/ToggleViewButtons.qml +++ b/data/qml/tomahawkimports/ToggleViewButtons.qml @@ -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