diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-17 15:50:34 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-17 15:50:34 +1000 |
| commit | 53bfe29a4037486375fd20de8113004f4c2f5bd3 (patch) | |
| tree | 0b30538264ea8708564806b349db078e2efef30a /modules/lock/LockSurface.qml | |
| parent | [CI] chore: update flake (diff) | |
| download | caelestia-shell-53bfe29a4037486375fd20de8113004f4c2f5bd3.tar.gz caelestia-shell-53bfe29a4037486375fd20de8113004f4c2f5bd3.tar.bz2 caelestia-shell-53bfe29a4037486375fd20de8113004f4c2f5bd3.zip | |
lock: refactor
Diffstat (limited to '')
| -rw-r--r-- | modules/lock/LockSurface.qml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/lock/LockSurface.qml b/modules/lock/LockSurface.qml index d773c63..acdc7f2 100644 --- a/modules/lock/LockSurface.qml +++ b/modules/lock/LockSurface.qml @@ -13,10 +13,8 @@ WlSessionLockSurface { required property WlSessionLock lock required property Pam pam + readonly property alias unlocking: unlockAnim.running readonly property bool animating: initAnim.running || unlockAnim.running - property bool locked - - Component.onCompleted: locked = true color: "transparent" @@ -24,7 +22,6 @@ WlSessionLockSurface { target: root.lock function onUnlock(): void { - root.locked = false; unlockAnim.start(); } } |