animation: Finish porting to clutter transitions

Animation when stopping the spinner was still using the old
parameters that not working, although if silently failing.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/758
This commit is contained in:
Marco Trevisan (Treviño) 2019-10-09 05:14:15 +02:00
parent 986600ab31
commit ef8000d2e6

View File

@ -167,8 +167,8 @@ var Spinner = class extends AnimatedIcon {
if (this._animate) { if (this._animate) {
this.actor.ease({ this.actor.ease({
opacity: 0, opacity: 0,
time: SPINNER_ANIMATION_TIME, duration: SPINNER_ANIMATION_TIME,
transition: 'linear', mode: Clutter.AnimationMode.LINEAR,
onComplete: () => super.stop() onComplete: () => super.stop()
}); });
} else { } else {