diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-11 01:38:37 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-11 01:38:37 +1000 |
| commit | dcaa49cddc1a075eb2825637b7681e61223ba45d (patch) | |
| tree | 9dd944cdb6da259c4bfabc80777ab526a4a2ecc3 /modules/lock/Center.qml | |
| parent | lock: better unlock anim (diff) | |
| download | caelestia-shell-dcaa49cddc1a075eb2825637b7681e61223ba45d.tar.gz caelestia-shell-dcaa49cddc1a075eb2825637b7681e61223ba45d.tar.bz2 caelestia-shell-dcaa49cddc1a075eb2825637b7681e61223ba45d.zip | |
lock: add media + some fixes
Diffstat (limited to 'modules/lock/Center.qml')
| -rw-r--r-- | modules/lock/Center.qml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/lock/Center.qml b/modules/lock/Center.qml index b288284..3df61a0 100644 --- a/modules/lock/Center.qml +++ b/modules/lock/Center.qml @@ -48,7 +48,7 @@ ColumnLayout { } Loader { - Layout.leftMargin: Appearance.spacing.normal + Layout.leftMargin: Appearance.spacing.small Layout.alignment: Qt.AlignVCenter asynchronous: true @@ -118,6 +118,9 @@ ColumnLayout { } Keys.onPressed: event => { + if (!root.lock.locked) + return; + if (event.key === Qt.Key_Enter || event.key === Qt.Key_Return) inputField.placeholder.animate = false; |