summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2026-01-16 02:11:17 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2026-01-16 02:11:17 +1100
commit4da25b5e954fa05f4da71f76d9867363f3d7b9bd (patch)
treede71b1f73832dc1cf4e5317e2605e158035d2a3a
parentdashboard: fix flickering on switch panes (diff)
downloadcaelestia-shell-4da25b5e954fa05f4da71f76d9867363f3d7b9bd.tar.gz
caelestia-shell-4da25b5e954fa05f4da71f76d9867363f3d7b9bd.tar.bz2
caelestia-shell-4da25b5e954fa05f4da71f76d9867363f3d7b9bd.zip
internal: fix lock null warnings
Diffstat (limited to '')
-rw-r--r--modules/lock/LockSurface.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/lock/LockSurface.qml b/modules/lock/LockSurface.qml
index a05e689..279c551 100644
--- a/modules/lock/LockSurface.qml
+++ b/modules/lock/LockSurface.qml
@@ -144,14 +144,14 @@ WlSessionLockSurface {
Anim {
target: lockContent
property: "implicitWidth"
- to: root.screen.height * Config.lock.sizes.heightMult * Config.lock.sizes.ratio
+ to: (root.screen?.height ?? 0) * Config.lock.sizes.heightMult * Config.lock.sizes.ratio
duration: Appearance.anim.durations.expressiveDefaultSpatial
easing.bezierCurve: Appearance.anim.curves.expressiveDefaultSpatial
}
Anim {
target: lockContent
property: "implicitHeight"
- to: root.screen.height * Config.lock.sizes.heightMult
+ to: (root.screen?.height ?? 0) * Config.lock.sizes.heightMult
duration: Appearance.anim.durations.expressiveDefaultSpatial
easing.bezierCurve: Appearance.anim.curves.expressiveDefaultSpatial
}