From fb4e7b39b9a0bde8f2ef478f666e2aedeb307564 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Thu, 16 Jun 2016 20:53:59 -0700 Subject: [PATCH] Remove animation to save perf --- src/ui/toolbar/MainToolBarIndicators.qml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/ui/toolbar/MainToolBarIndicators.qml b/src/ui/toolbar/MainToolBarIndicators.qml index e342300..8b059e7 100644 --- a/src/ui/toolbar/MainToolBarIndicators.qml +++ b/src/ui/toolbar/MainToolBarIndicators.qml @@ -102,19 +102,6 @@ Row { anchors.verticalCenter: parent.verticalCenter anchors.horizontalCenter: parent.horizontalCenter } - SequentialAnimation { - id: loopAnimation - loops: Animation.Infinite - NumberAnimation { target: criticalMessage; property: "opacity"; duration: 1000; from: 0.25; to: 1 } - NumberAnimation { target: criticalMessage; property: "opacity"; duration: 1000; from: 1; to: 0.25 } - } - onVisibleChanged: { - if(messages.visible) { - loopAnimation.start() - } else { - loopAnimation.stop() - } - } } Item { anchors.fill: parent