From 24b03d0e493aeb16cca92a5c8f951f6698d53834 Mon Sep 17 00:00:00 2001 From: Devin Lin Date: Fri, 31 Dec 2021 10:31:29 -0500 Subject: [PATCH] startupfeedback: Fix property call --- .../mobileshell/qml/components/StartupFeedback.qml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/components/mobileshell/qml/components/StartupFeedback.qml b/components/mobileshell/qml/components/StartupFeedback.qml index 84eb89ad..b302bfa6 100644 --- a/components/mobileshell/qml/components/StartupFeedback.qml +++ b/components/mobileshell/qml/components/StartupFeedback.qml @@ -147,34 +147,35 @@ MouseArea { // use mousearea to ensure clicks don't go behind // slight pause to give slower devices time to catch up when the item becomes visible PauseAnimation { duration: 50 } ParallelAnimation { + id: parallelAnim property real animationDuration: PlasmaCore.Units.longDuration + PlasmaCore.Units.shortDuration ScaleAnimator { target: background from: background.scale to: 1 - duration: animationDuration + duration: parallelAnim.animationDuration easing.type: Easing.OutCubic } ScaleAnimator { target: iconParent from: iconParent.scale to: 1 - duration: animationDuration + duration: parallelAnim.animationDuration easing.type: Easing.OutCubic } XAnimator { target: backgroundParent from: backgroundParent.x to: 0 - duration: animationDuration + duration: parallelAnim.animationDuration easing.type: Easing.OutCubic } YAnimator { target: backgroundParent from: backgroundParent.y to: 0 - duration: animationDuration + duration: parallelAnim.animationDuration easing.type: Easing.OutCubic } }