Fix instalock and add entry animation to wallpaper

This commit is contained in:
2026-05-16 01:34:03 -07:00
parent a596dce33e
commit 1c97d6166d
2 changed files with 28 additions and 3 deletions

View File

@@ -79,7 +79,7 @@ WlSessionLock {
ClippingRectangle {
anchors.fill: parent
color: "white"
opacity: !lock.animate || capture.ready
opacity: capture.ready
radius: 0
RectangularShadow {
anchors.fill: parent

View File

@@ -30,10 +30,35 @@ Variants {
}
radius: 40
PropertyAnimation on radius {
id: radiusAnimation
running: false
to: 14
duration: 300
duration: 1000
}
property real intro_progress: 0
transform: [
Translate {
y: 160
PropertyAnimation on y {
duration: 500
to: 0
easing.type: Easing.OutCubic
onFinished: scaleAnimation.start()
}
},
Scale {
origin { x: width/2; y: height/2 }
xScale: 0.8
yScale: xScale
PropertyAnimation on xScale {
id: scaleAnimation
running: false
duration: 1000
to: 1
easing.type: Easing.InOutCubic
onStarted: radiusAnimation.start()
}
}
]
}
}
}