From aa08957538f7ff177a6feeaca26ec7d224f99ba9 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sun, 10 Aug 2025 21:05:31 +1000 Subject: lock: center password field + placeholder states --- modules/lock/Pam.qml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'modules/lock/Pam.qml') 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 = "" } } -- cgit v1.2.3-freya