summaryrefslogtreecommitdiff
path: root/modules/lock/LockSurface.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-10 21:48:57 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-10 21:48:57 +1000
commitacfef5103e66cfebcc882d8dd4f36daa0bb447cd (patch)
tree6aeb01941a9d4ce4848d1b6722fc967dd85d2292 /modules/lock/LockSurface.qml
parentlock: add date (diff)
downloadcaelestia-shell-acfef5103e66cfebcc882d8dd4f36daa0bb447cd.tar.gz
caelestia-shell-acfef5103e66cfebcc882d8dd4f36daa0bb447cd.tar.bz2
caelestia-shell-acfef5103e66cfebcc882d8dd4f36daa0bb447cd.zip
lock: better lock anim
Diffstat (limited to 'modules/lock/LockSurface.qml')
-rw-r--r--modules/lock/LockSurface.qml12
1 files changed, 10 insertions, 2 deletions
diff --git a/modules/lock/LockSurface.qml b/modules/lock/LockSurface.qml
index 8dec866..ef07f39 100644
--- a/modules/lock/LockSurface.qml
+++ b/modules/lock/LockSurface.qml
@@ -124,6 +124,13 @@ WlSessionLockSurface {
to: 1
}
Anim {
+ target: content
+ property: "centerScale"
+ to: 1
+ duration: Appearance.anim.durations.expressiveDefaultSpatial
+ easing.bezierCurve: Appearance.anim.curves.expressiveDefaultSpatial
+ }
+ Anim {
target: lockBg
property: "radius"
to: Appearance.rounding.large
@@ -131,14 +138,14 @@ WlSessionLockSurface {
Anim {
target: lockBg
property: "implicitWidth"
- to: root.width * 0.8
+ to: root.height * Config.lock.sizes.heightMult * Config.lock.sizes.ratio
duration: Appearance.anim.durations.expressiveDefaultSpatial
easing.bezierCurve: Appearance.anim.curves.expressiveDefaultSpatial
}
Anim {
target: lockBg
property: "implicitHeight"
- to: root.height * 0.8
+ to: root.height * Config.lock.sizes.heightMult
duration: Appearance.anim.durations.expressiveDefaultSpatial
easing.bezierCurve: Appearance.anim.curves.expressiveDefaultSpatial
}
@@ -174,6 +181,7 @@ WlSessionLockSurface {
implicitWidth: size
implicitHeight: size
+ clip: true
color: Colours.tPalette.m3surface
radius: size / 4
rotation: 180