Skip to content
Verified Commit 795b7a81 authored by ivan tkachenko's avatar ivan tkachenko 🗯
Browse files

ProgressBar: Pause indeterminate animation when invisible

Invisible items are not getting drawn, no matter how many times you call
their updateItem method. But to further improve the performance,
downstream styles like Breeze can hook into Item::visible state to stop
their internal animation engines from updating current value and even
attempting to redraw anything.

Also it still works fine with ShaderEffectSource: setting source item's
visibility affects whether or not it is displayed in ShaderEffectSource.
Hiding source item or not has no bearing on this matter.
parent a7e83440
Pipeline #344677 passed with stage
in 2 minutes and 44 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment