From dec3883a1d0d7d24c797cf517fa7fad85b24a1f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kari=20Hautam=C3=A4ki?= Date: Fri, 24 Feb 2017 15:31:13 +0200 Subject: iot-sensortag: NumberAnimation in LightChart In LightChart, replace NumberAnimation with OpacityAnimator Change-Id: I52c15a5fee3cc7d4fedde51b7011ba7c3a269a32 Reviewed-by: Maurice Kalinowski --- tradeshow/iot-sensortag/resources/base/LightChart.qml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'tradeshow/iot-sensortag/resources') diff --git a/tradeshow/iot-sensortag/resources/base/LightChart.qml b/tradeshow/iot-sensortag/resources/base/LightChart.qml index a51787d..857a112 100644 --- a/tradeshow/iot-sensortag/resources/base/LightChart.qml +++ b/tradeshow/iot-sensortag/resources/base/LightChart.qml @@ -87,12 +87,6 @@ BaseChart { anchors.left: container.left anchors.leftMargin: 12 - Behavior on opacity { - NumberAnimation { - duration: 500 - } - } - Text { id: lightMainText @@ -108,7 +102,7 @@ BaseChart { anchors.right: parent.right Behavior on opacity { - NumberAnimation { + OpacityAnimator { duration: 500 } } -- cgit v1.2.3