1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2025-09-05 10:12:46 +00:00

Small user interface tweaks

This commit is contained in:
Chris Josten 2021-09-10 05:18:05 +02:00
parent af99b39722
commit 17400a97e4
No known key found for this signature in database
GPG key ID: A69C050E9FD9FF6A
8 changed files with 39 additions and 16 deletions

View file

@ -42,7 +42,7 @@ CoverBackground {
limit: cover.rowCount * 2 - 2
imageTypes: [J.ImageType.Primary]
sortBy: "IsFavoriteOrLiked,Random"
recursive: false
recursive: true
parentId: itemId
autoReload: false
onParentIdChanged: {
@ -53,6 +53,7 @@ CoverBackground {
PathView {
id: pathView
model: randomItems
visible: count === randomItemsLoader.limit
path: Path {
startX: -rowHeight * rowOffset
startY: rowHeight * 0.5
@ -107,7 +108,7 @@ CoverBackground {
Column {
anchors.centerIn: parent
width: parent.width
opacity: randomItemsLoader.status === J.ModelStatus.Ready ? 0.0 : 1.0
opacity: randomItemsLoader.status === J.ModelStatus.Ready && pathView.visible ? 0.0 : 1.0
Behavior on opacity {
NumberAnimation {}
}
@ -137,7 +138,7 @@ CoverBackground {
Timer {
running: true
interval: 5000
interval: 10000
repeat: true
onTriggered: {
pathView.incrementCurrentIndex()