This commit is contained in:
2026-01-04 16:52:46 -08:00
parent 98521886e6
commit 7e93b4afa1
2 changed files with 20 additions and 3 deletions

View File

@@ -80,6 +80,19 @@ WlSessionLock {
width: surface.width
height: surface.height
fillMode: Image.PreserveAspectCrop
transform: [
Scale {
origin {x: surface.width/2; y: surface.height/2}
xScale: 1.02
yScale: xScale
},
Translate {
x: (surfaceHover.point.position.x - surface.width/2) * 0.02
y: (surfaceHover.point.position.y - surface.height/2) * 0.02
OutQuint500 on x {}
OutQuint500 on y {}
}
]
Rectangle {
color: "white"
anchors.fill: parent
@@ -125,9 +138,9 @@ WlSessionLock {
z: -1
blur: 12
opacity: 0.6
ExitAnimation on opacity {}
ExitAnimation on opacity { duration: 600 }
}
ExitAnimation on height {}
ExitAnimation on height { duration: 600 }
}
Item {
anchors.fill: parent
@@ -460,6 +473,10 @@ WlSessionLock {
}
HoverHandler {
id: surfaceHover
}
Timer {
id: exitAnimation
running: false