diff --git a/appIcons.js b/appIcons.js index 4019d66..3347de4 100644 --- a/appIcons.js +++ b/appIcons.js @@ -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;