Skip to content
Snippets Groups Projects
Commit c57f32ef authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

misc: don't perpetually run animations for invisible items

Change-Id: I2f49190c652a4ee99b3480dfcdbf8eef92cffa12
Gitlab: #710
parent 302f7000
No related branches found
No related tags found
No related merge requests found
......@@ -47,6 +47,7 @@ Item {
}
RotationAnimation on angle {
running: root.visible
loops: Animation.Infinite
duration: spinningAnimationDuration
from: 0
......@@ -88,6 +89,7 @@ Item {
}
RotationAnimation on angle {
running: root.visible
loops: Animation.Infinite
duration: spinningAnimationDuration
from: 180.0
......
......@@ -213,7 +213,7 @@ Item {
SequentialAnimation on color {
loops: Animation.Infinite
running: true
running: recordingRect.visible
ColorAnimation {
from: JamiTheme.recordIconColor
to: "transparent"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment