summaryrefslogtreecommitdiffstats
path: root/tradeshow
diff options
context:
space:
mode:
authorKari Hautamäki <kari.hautamaki@qt.io>2017-02-24 15:31:13 +0200
committerTitta Heikkala <titta.heikkala@qt.io>2017-02-28 11:35:13 +0000
commitdec3883a1d0d7d24c797cf517fa7fad85b24a1f2 (patch)
tree4a0ae0dd9cab9d6878c45e0d4c8eae1bb0a276cd /tradeshow
parent1347741cc20890a6e7f885f7b1b99943de6a7339 (diff)
iot-sensortag: NumberAnimation in LightChart
In LightChart, replace NumberAnimation with OpacityAnimator Change-Id: I52c15a5fee3cc7d4fedde51b7011ba7c3a269a32 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'tradeshow')
-rw-r--r--tradeshow/iot-sensortag/resources/base/LightChart.qml8
1 files changed, 1 insertions, 7 deletions
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
}
}