diff options
author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2019-10-10 02:14:28 +0200 |
---|---|---|
committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2019-10-10 02:14:28 +0200 |
commit | 279024afc2312111c093e6300dbb585a1e08077f (patch) | |
tree | ee9ed64aacc30d1be2b70befbd30e745241d9c23 | |
parent | ef8000d2e6402795e1fb01915c93a8b38d5c846b (diff) | |
download | gnome-shell-279024afc2312111c093e6300dbb585a1e08077f.tar.gz |
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
-rw-r--r-- | js/ui/appDisplay.js | 2 | ||||
-rw-r--r-- | js/ui/dash.js | 2 | ||||
-rw-r--r-- | 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 9147d4c02..cc946f01c 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 5751afee0..0f99b9c88 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 e2bb8cc27..35b47b036 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); |