From 4f23c7746a1fc310db93d34711aa526b21f654b3 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Mon, 14 Jul 2025 23:22:17 +0800 Subject: more animation --- components/IText.qml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'components') diff --git a/components/IText.qml b/components/IText.qml index c854f74..916b867 100644 --- a/components/IText.qml +++ b/components/IText.qml @@ -7,10 +7,8 @@ Text { id: root property bool animate: false - property string animateProp: "scale" property real animateFrom: 0 property real animateTo: 1 - property int animateDuration: Style.anim.durations.normal renderType: Text.NativeRendering textFormat: Text.PlainText @@ -48,8 +46,8 @@ Text { component Anim: NumberAnimation { target: root - property: root.animateProp - duration: root.animateDuration / 2 + property: General.animateProp + duration: General.animateDuration / 4 easing.type: Easing.BezierSpline } } -- cgit v1.2.3