diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-24 17:22:00 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-24 17:22:00 +1000 |
| commit | 6e8a32d4e40e25e1c077394f1638a43176ebf9ed (patch) | |
| tree | 26704741e0c3a41a9ca461c7bc148f58553bf8f7 /modules/lock | |
| parent | internal: add canim component (diff) | |
| download | caelestia-shell-6e8a32d4e40e25e1c077394f1638a43176ebf9ed.tar.gz caelestia-shell-6e8a32d4e40e25e1c077394f1638a43176ebf9ed.tar.bz2 caelestia-shell-6e8a32d4e40e25e1c077394f1638a43176ebf9ed.zip | |
internal: use Anim component
Diffstat (limited to 'modules/lock')
| -rw-r--r-- | modules/lock/Center.qml | 6 | ||||
| -rw-r--r-- | modules/lock/Resources.qml | 4 |
2 files changed, 4 insertions, 6 deletions
diff --git a/modules/lock/Center.qml b/modules/lock/Center.qml index ae18ed8..02e069a 100644 --- a/modules/lock/Center.qml +++ b/modules/lock/Center.qml @@ -309,10 +309,10 @@ ColumnLayout { loops: 2 - MessageAnim { + FlashAnim { to: 0.3 } - MessageAnim { + FlashAnim { to: 1 } } @@ -335,7 +335,7 @@ ColumnLayout { } } - component MessageAnim: NumberAnimation { + component FlashAnim: NumberAnimation { target: message property: "opacity" duration: Appearance.anim.durations.small diff --git a/modules/lock/Resources.qml b/modules/lock/Resources.qml index 7dda218..82c004c 100644 --- a/modules/lock/Resources.qml +++ b/modules/lock/Resources.qml @@ -85,10 +85,8 @@ GridLayout { } Behavior on value { - NumberAnimation { + Anim { duration: Appearance.anim.durations.large - easing.type: Easing.BezierSpline - easing.bezierCurve: Appearance.anim.curves.standard } } } |