Skip to content

Commit

Permalink
Work around OpacityAnimator not behaving as expected in Qt 6
Browse files Browse the repository at this point in the history
For some reason, the opacity stays at 0. It seems like a regression in
OpacityAnimator.
  • Loading branch information
zzag committed Mar 4, 2023
1 parent 85ed94d commit a70bc45
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/package/contents/ui/WallpaperView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,11 @@ StackView {
}

replaceEnter: Transition {
OpacityAnimator {
duration: wallpaper.configuration.TransitionDuration
NumberAnimation {
property: "opacity"
from: 0
to: 1
duration: wallpaper.configuration.TransitionDuration
}
}

Expand Down

0 comments on commit a70bc45

Please sign in to comment.