Fix BusyIndicator rotating even when invisible, again

After "BusyIndicator: Do not rotate when invisible", plasmashell started
consuming 100% CPU due to plasma-nm's icon having an invisible BusyIndicator.
Adding the "visible" property back into the equation avoids this.

Third time's the charm?
This commit is contained in:
Fabian Vogt 2020-10-17 13:45:15 +02:00
parent a868053128
commit d578c2a154

View File

@ -62,7 +62,7 @@ T.BusyIndicator {
to: 360
duration: 2000
loops: Animation.Infinite
running: control.running || baseItem.opacity > 0
running: visible && (control.running || baseItem.opacity > 0)
}
}
}