diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-07-14 23:22:17 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-07-14 23:22:17 +0800 |
| commit | 4f23c7746a1fc310db93d34711aa526b21f654b3 (patch) | |
| tree | b9dd9bf0fa72a85d1c82db3042397287fff8c190 /components | |
| parent | ec774a534d631f57ace0eb633dd64ed2f55ed8a6 (diff) | |
more animation
Diffstat (limited to 'components')
| -rw-r--r-- | components/IText.qml | 6 |
1 files changed, 2 insertions, 4 deletions
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 } } |
