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:
parent
a868053128
commit
d578c2a154
@ -62,7 +62,7 @@ T.BusyIndicator {
|
|||||||
to: 360
|
to: 360
|
||||||
duration: 2000
|
duration: 2000
|
||||||
loops: Animation.Infinite
|
loops: Animation.Infinite
|
||||||
running: control.running || baseItem.opacity > 0
|
running: visible && (control.running || baseItem.opacity > 0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user