From df22155da1d708488961facd81f07780ca08a9bd Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Mon, 28 Jul 2025 17:58:45 +0800 Subject: config: proper naming fix: IRect using wrong animation duration config --- components/IText.qml | 4 ++-- 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 } -- cgit v1.2.3