aboutsummaryrefslogtreecommitdiffstats
path: root/theme/components/LoginCard.qml
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-17 13:32:19 +0200
committerDanilo M. <danix@danix.xyz>2026-09-17 13:32:19 +0200
commit15198896821b5305d3c3574f4f58faf908585ba1 (patch)
treeedcf21bee4c8b074024c334c063b5e9953012e89 /theme/components/LoginCard.qml
parentebe8d060b28b3e602f83d7f0a385c8cc2ee424a9 (diff)
downloadsddm-theme-udt-15198896821b5305d3c3574f4f58faf908585ba1.tar.gz
sddm-theme-udt-15198896821b5305d3c3574f4f58faf908585ba1.zip
fix: restore failed-login shake offset
Diffstat (limited to 'theme/components/LoginCard.qml')
-rw-r--r--theme/components/LoginCard.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/theme/components/LoginCard.qml b/theme/components/LoginCard.qml
index d76269f..e743142 100644
--- a/theme/components/LoginCard.qml
+++ b/theme/components/LoginCard.qml
@@ -18,8 +18,9 @@ Item {
readonly property int radius: 10
signal wake()
- // Shake on a failed login without touching the card's own x binding, which
- // Main owns: animating x directly would destroy that binding.
+ // Shake on a failed login. Main reads this as the card's
+ // anchors.horizontalCenterOffset, so the shake never touches the card's
+ // own position bindings.
property real shakeOffset: 0
implicitWidth: 380