diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-10 21:48:57 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-10 21:48:57 +1000 |
| commit | acfef5103e66cfebcc882d8dd4f36daa0bb447cd (patch) | |
| tree | 6aeb01941a9d4ce4848d1b6722fc967dd85d2292 /modules/lock/Content.qml | |
| parent | lock: add date (diff) | |
| download | caelestia-shell-acfef5103e66cfebcc882d8dd4f36daa0bb447cd.tar.gz caelestia-shell-acfef5103e66cfebcc882d8dd4f36daa0bb447cd.tar.bz2 caelestia-shell-acfef5103e66cfebcc882d8dd4f36daa0bb447cd.zip | |
lock: better lock anim
Diffstat (limited to 'modules/lock/Content.qml')
| -rw-r--r-- | modules/lock/Content.qml | 6 |
1 files changed, 6 insertions, 0 deletions
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 } |