aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules/appearance/WallpaperSpread.qml
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/modules/appearance/WallpaperSpread.qml')
-rw-r--r--desktop/modules/appearance/WallpaperSpread.qml12
1 files changed, 11 insertions, 1 deletions
diff --git a/desktop/modules/appearance/WallpaperSpread.qml b/desktop/modules/appearance/WallpaperSpread.qml
index d1c383d..2f1dd03 100644
--- a/desktop/modules/appearance/WallpaperSpread.qml
+++ b/desktop/modules/appearance/WallpaperSpread.qml
@@ -73,7 +73,17 @@ Scope {
// would pop in late over a half-drawn screen.
readonly property bool ready: running && oldImg.status === Image.Ready
&& newImg.status === Image.Ready
- onReadyChanged: if (ready) anim.restart()
+ onReadyChanged: if (ready) {
+ anim.restart();
+ drawn.restart();
+ }
+ // A few frames for the cover to reach the screen, then wallp may
+ // swap swaybg underneath it.
+ Timer {
+ id: drawn
+ interval: 50
+ onTriggered: Wallpapers.covered()
+ }
// -m fill is a centred crop, which is what PreserveAspectCrop does.
Image {