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
This commit is contained in:
parent
ef8000d2e6
commit
279024afc2
@ -2233,7 +2233,7 @@ var AppIcon = class AppIcon {
|
|||||||
this.actor.ease({
|
this.actor.ease({
|
||||||
scale_x: 1,
|
scale_x: 1,
|
||||||
scale_y: 1,
|
scale_y: 1,
|
||||||
time: APP_ICON_SCALE_IN_TIME,
|
duration: APP_ICON_SCALE_IN_TIME,
|
||||||
delay: APP_ICON_SCALE_IN_DELAY,
|
delay: APP_ICON_SCALE_IN_DELAY,
|
||||||
mode: Clutter.AnimationMode.EASE_OUT_QUINT
|
mode: Clutter.AnimationMode.EASE_OUT_QUINT
|
||||||
});
|
});
|
||||||
|
@ -623,7 +623,7 @@ var Dash = class Dash {
|
|||||||
icon.icon.ease({
|
icon.icon.ease({
|
||||||
width: targetWidth,
|
width: targetWidth,
|
||||||
height: targetHeight,
|
height: targetHeight,
|
||||||
time: DASH_ANIMATION_TIME,
|
duration: DASH_ANIMATION_TIME,
|
||||||
mode: Clutter.AnimationMode.EASE_OUT_QUAD
|
mode: Clutter.AnimationMode.EASE_OUT_QUAD
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -428,7 +428,7 @@ var ObjInspector = class ObjInspector {
|
|||||||
scale_x: 1,
|
scale_x: 1,
|
||||||
scale_y: 1,
|
scale_y: 1,
|
||||||
mode: Clutter.AnimationMode.EASE_OUT_QUAD,
|
mode: Clutter.AnimationMode.EASE_OUT_QUAD,
|
||||||
time: 200
|
duration: 200
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.actor.set_scale(1, 1);
|
this.actor.set_scale(1, 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user