From acfef5103e66cfebcc882d8dd4f36daa0bb447cd Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sun, 10 Aug 2025 21:48:57 +1000 Subject: lock: better lock anim --- modules/lock/Content.qml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules/lock/Content.qml') diff --git a/modules/lock/Content.qml b/modules/lock/Content.qml index 43cf871..102d8cf 100644 --- a/modules/lock/Content.qml +++ b/modules/lock/Content.qml @@ -8,6 +8,7 @@ RowLayout { id: root required property var lock + property real centerScale anchors.fill: parent anchors.margins: Appearance.padding.large @@ -24,6 +25,8 @@ RowLayout { radius: Appearance.rounding.small color: Colours.tPalette.m3surfaceContainer + + // WeatherInfo {} } StyledRect { @@ -36,6 +39,9 @@ RowLayout { } Center { + Layout.leftMargin: -(1 - scale) * implicitWidth / 2 + Layout.rightMargin: -(1 - scale) * implicitWidth / 2 + scale: root.centerScale lock: root.lock } -- cgit v1.2.3-freya