diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-10 21:05:31 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-10 21:05:31 +1000 |
| commit | aa08957538f7ff177a6feeaca26ec7d224f99ba9 (patch) | |
| tree | defd4216b3e5c1cbcadff2ef1cd182eb1373c2f7 /modules/lock/Pam.qml | |
| parent | lock: add placeholder + manual focus (diff) | |
| download | caelestia-shell-aa08957538f7ff177a6feeaca26ec7d224f99ba9.tar.gz caelestia-shell-aa08957538f7ff177a6feeaca26ec7d224f99ba9.tar.bz2 caelestia-shell-aa08957538f7ff177a6feeaca26ec7d224f99ba9.zip | |
lock: center password field + placeholder states
Diffstat (limited to 'modules/lock/Pam.qml')
| -rw-r--r-- | modules/lock/Pam.qml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/lock/Pam.qml b/modules/lock/Pam.qml index 7863603..6752d30 100644 --- a/modules/lock/Pam.qml +++ b/modules/lock/Pam.qml @@ -8,8 +8,9 @@ Scope { required property WlSessionLock lock - property string state: "none" - property string buffer: "" + readonly property bool active: passwd.active + property string state + property string buffer function handleKey(event: KeyEvent): void { if (passwd.active) @@ -59,6 +60,6 @@ Scope { id: stateReset interval: 4000 - onTriggered: root.state = "none" + onTriggered: root.state = "" } } |