From 6e8a32d4e40e25e1c077394f1638a43176ebf9ed Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sun, 24 Aug 2025 17:22:00 +1000 Subject: internal: use Anim component --- modules/lock/Center.qml | 6 +++--- modules/lock/Resources.qml | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'modules/lock') 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 } } } -- cgit v1.2.3-freya