[PC3] Complete plasma progress bar animation

Summary:
Otherwside if we toggle indeterminate the bar resizes to 50% of the view
and X stops on the current value of the animation. Resulting in
something that looks super odd.

Test Plan: Plasma Components manual uit test looks sane

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D25927
This commit is contained in:
David Edmundson 2019-12-12 16:18:02 +00:00
parent e91ba953ea
commit c5a3d7cd54

View File

@ -45,6 +45,7 @@ T.ProgressBar {
id: anim
loops: Animation.Infinite
alwaysRunToEnd: true
running: control.indeterminate && control.visible
PropertyAnimation {