Wallpaper Selector: added a shortcut to the wallpaper settings in the top bar.

This commit is contained in:
ItsLemmy
2025-09-29 09:25:45 -04:00
parent 9ed9231070
commit 0d0b9a21f2
2 changed files with 14 additions and 6 deletions
+2 -6
View File
@@ -224,9 +224,7 @@ Variants {
easing.type: Easing.InOutCubic
onFinished: {
// Swap images after transition completes
if (currentWallpaper.source !== "") {
currentWallpaper.source = ""
}
currentWallpaper.source = ""
currentWallpaper.source = nextWallpaper.source
nextWallpaper.source = ""
transitionProgress = 0.0
@@ -249,9 +247,7 @@ Variants {
function setWallpaperImmediate(source) {
transitionAnimation.stop()
transitionProgress = 0.0
if (currentWallpaper.source !== "") {
currentWallpaper.source = ""
}
currentWallpaper.source = ""
currentWallpaper.source = source
nextWallpaper.source = ""
}