diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-07-28 17:58:45 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-07-28 18:00:41 +0800 |
| commit | df22155da1d708488961facd81f07780ca08a9bd (patch) | |
| tree | 3e508b5ac94d5a3d7cf726e739c0db2d793a83c2 | |
| parent | 32a4403d8d2eb8568d7dd564e9a52a49ef2fa9f7 (diff) | |
config: proper naming
fix: IRect using wrong animation duration config
| -rw-r--r-- | components/IText.qml | 4 | ||||
| -rw-r--r-- | config/General.qml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/components/IText.qml b/components/IText.qml index ad36d09..b737cf2 100644 --- a/components/IText.qml +++ b/components/IText.qml @@ -47,8 +47,8 @@ Text { component Anim: NumberAnimation { target: root - property: General.animateProp - duration: General.animateDuration / 4 + property: General.animationProp + duration: General.animationDuration / 4 easing.type: Easing.BezierSpline } } diff --git a/config/General.qml b/config/General.qml index 41f62b9..0a93d33 100644 --- a/config/General.qml +++ b/config/General.qml @@ -17,8 +17,8 @@ Singleton { readonly property int fontSize: Style.font.size.larger - readonly property int animateDuration: Style.anim.durations.normal - readonly property string animateProp: "scale" + readonly property int animationDuration: Style.anim.durations.normal + readonly property string animationProp: "scale" readonly property real springAnimationSpring: 8 readonly property real springAnimationDamping: 0.4 } |
