Wallpaper: added random transition + fixed "none" transition
This commit is contained in:
parent
3496169c68
commit
26fc6098dc
4 changed files with 57 additions and 37 deletions
|
|
@ -19,6 +19,10 @@ Singleton {
|
|||
key: "none"
|
||||
name: "None"
|
||||
}
|
||||
ListElement {
|
||||
key: "random"
|
||||
name: "Random"
|
||||
}
|
||||
ListElement {
|
||||
key: "fade"
|
||||
name: "Fade"
|
||||
|
|
@ -41,6 +45,12 @@ Singleton {
|
|||
}
|
||||
}
|
||||
|
||||
// All transition keys but filter out "random"
|
||||
readonly property var allTransitions: Array.from({
|
||||
"length": transitionsModel.count
|
||||
}, (_, i) => transitionsModel.get(i).key).filter(
|
||||
key => key !== "random" && key != "none")
|
||||
|
||||
property var wallpaperLists: ({})
|
||||
property int scanningCount: 0
|
||||
readonly property bool scanning: (scanningCount > 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue