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
This commit is contained in:
parent
986600ab31
commit
ef8000d2e6
@ -167,8 +167,8 @@ var Spinner = class extends AnimatedIcon {
|
|||||||
if (this._animate) {
|
if (this._animate) {
|
||||||
this.actor.ease({
|
this.actor.ease({
|
||||||
opacity: 0,
|
opacity: 0,
|
||||||
time: SPINNER_ANIMATION_TIME,
|
duration: SPINNER_ANIMATION_TIME,
|
||||||
transition: 'linear',
|
mode: Clutter.AnimationMode.LINEAR,
|
||||||
onComplete: () => super.stop()
|
onComplete: () => super.stop()
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user