[gnome-shell] animation: Finish porting to clutter transitions



commit ef8000d2e6402795e1fb01915c93a8b38d5c846b
Author: Marco Trevisan (Treviño) <mail 3v1n0 net>
Date:   Wed Oct 9 05:14:15 2019 +0200

    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 a1f257efce..18c837e822 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 {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]