mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-09-02 18:33:16 +02:00
make GridView smooth
fix toggleViewButtons
This commit is contained in:
@@ -43,6 +43,7 @@ Rectangle {
|
|||||||
artworkId: model.coverID
|
artworkId: model.coverID
|
||||||
showPlayButton: true
|
showPlayButton: true
|
||||||
currentlyPlaying: isPlaying
|
currentlyPlaying: isPlaying
|
||||||
|
smooth: true
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
rootView.onItemClicked(index)
|
rootView.onItemClicked(index)
|
||||||
|
@@ -18,7 +18,7 @@ Row {
|
|||||||
height: repeater.height
|
height: repeater.height
|
||||||
width: 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
|
smooth: true
|
||||||
Image {
|
Image {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
Reference in New Issue
Block a user