summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/IText.qml6
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
}
}