Fix unsupported onStart Clutter animation property

This commit is contained in:
Charles Gagnon
2020-04-29 19:59:37 -04:00
parent 468b53565d
commit 08947f97aa

View File

@@ -696,10 +696,6 @@ var taskbarAppIcon = Utils.defineClass({
let tweenOpts = {
time: Taskbar.DASH_ANIMATION_TIME,
transition: 'easeInOutCubic',
onStart: Lang.bind(this, function() {
if(newOtherOpacity == 0)
otherDots.opacity = newOtherOpacity;
}),
onComplete: Lang.bind(this, function() {
if(newOtherOpacity > 0)
otherDots.opacity = newOtherOpacity;
@@ -707,6 +703,9 @@ var taskbarAppIcon = Utils.defineClass({
})
};
if(newOtherOpacity == 0)
otherDots.opacity = newOtherOpacity;
tweenOpts[sizeProp] = newSize;
dots._tweeningToSize = newSize;