internal: fix lock null warnings
This commit is contained in:
parent
fae21cd73a
commit
4da25b5e95
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue