From ba59c249436bedfea2302e9349fa392d9682f719 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Tue, 29 Jul 2025 18:15:23 +0800 Subject: perf: inlined unused config --- components/IText.qml | 2 +- config/General.qml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/components/IText.qml b/components/IText.qml index 8bbe0ac..31e0423 100644 --- a/components/IText.qml +++ b/components/IText.qml @@ -48,7 +48,7 @@ Text { component Anim: NumberAnimation { target: root - property: General.animationProp + property: "scale" duration: General.animationDuration / 4 easing.type: Easing.BezierSpline } diff --git a/config/General.qml b/config/General.qml index 32179e8..2df675b 100644 --- a/config/General.qml +++ b/config/General.qml @@ -18,7 +18,6 @@ Singleton { readonly property int fontSize: Style.font.size.larger 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