[gnome-shell] js: Replace Tweener time leftovers with ease duration



commit 279024afc2312111c093e6300dbb585a1e08077f
Author: Marco Trevisan (Treviño) <mail 3v1n0 net>
Date:   Thu Oct 10 02:14:28 2019 +0200

    js: Replace Tweener time leftovers with ease duration
    
    In some places we were not properly animating the actors as still using the
    non-existent 'time' property instead of 'duration'
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/758

 js/ui/appDisplay.js   | 2 +-
 js/ui/dash.js         | 2 +-
 js/ui/lookingGlass.js | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 9147d4c02c..cc946f01c7 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -2233,7 +2233,7 @@ var AppIcon = class AppIcon {
         this.actor.ease({
             scale_x: 1,
             scale_y: 1,
-            time: APP_ICON_SCALE_IN_TIME,
+            duration: APP_ICON_SCALE_IN_TIME,
             delay: APP_ICON_SCALE_IN_DELAY,
             mode: Clutter.AnimationMode.EASE_OUT_QUINT
         });
diff --git a/js/ui/dash.js b/js/ui/dash.js
index 5751afee05..0f99b9c88a 100644
--- a/js/ui/dash.js
+++ b/js/ui/dash.js
@@ -623,7 +623,7 @@ var Dash = class Dash {
             icon.icon.ease({
                 width: targetWidth,
                 height: targetHeight,
-                time: DASH_ANIMATION_TIME,
+                duration: DASH_ANIMATION_TIME,
                 mode: Clutter.AnimationMode.EASE_OUT_QUAD
             });
         }
diff --git a/js/ui/lookingGlass.js b/js/ui/lookingGlass.js
index e2bb8cc278..35b47b0360 100644
--- a/js/ui/lookingGlass.js
+++ b/js/ui/lookingGlass.js
@@ -428,7 +428,7 @@ var ObjInspector = class ObjInspector {
                 scale_x: 1,
                 scale_y: 1,
                 mode: Clutter.AnimationMode.EASE_OUT_QUAD,
-                time: 200
+                duration: 200
             });
         } else {
             this.actor.set_scale(1, 1);


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