From ef8000d2e6402795e1fb01915c93a8b38d5c846b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Wed, 9 Oct 2019 05:14:15 +0200 Subject: [PATCH] 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 --- js/ui/animation.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/animation.js b/js/ui/animation.js index a1f257efc..18c837e82 100644 --- a/js/ui/animation.js +++ b/js/ui/animation.js @@ -167,8 +167,8 @@ var Spinner = class extends AnimatedIcon { if (this._animate) { this.actor.ease({ opacity: 0, - time: SPINNER_ANIMATION_TIME, - transition: 'linear', + duration: SPINNER_ANIMATION_TIME, + mode: Clutter.AnimationMode.LINEAR, onComplete: () => super.stop() }); } else {