Skip to content

Commit

Permalink
Render WallpaperImage into an offscreen texture during transition
Browse files Browse the repository at this point in the history
A WallpaperImage is composed of two Image objects so we have to render
them into an offscreen texture in order to properly cross-fade between
old and new WallpaperImage.
  • Loading branch information
zzag committed Mar 15, 2020
1 parent a0fd293 commit 444ddab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/package/contents/ui/WallpaperView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ StackView {
id: baseImage

WallpaperImage {
// We have to manually destroy any item pushed onto a StackView.
layer.enabled: root.replaceEnter.running
StackView.onRemoved: destroy()
}
}
Expand Down

0 comments on commit 444ddab

Please sign in to comment.