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:
parent
af99b39722
commit
17400a97e4
8 changed files with 39 additions and 16 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue