Commit 279024af authored by Marco Trevisan's avatar Marco Trevisan 🎺

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'

!758
parent ef8000d2
Pipeline #122905 passed with stages
in 5 minutes and 14 seconds
......@@ -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
});
......
......@@ -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
});
}
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment