From 08947f97aae0fe463a7cac70371de93e2a8f0779 Mon Sep 17 00:00:00 2001 From: Charles Gagnon Date: Wed, 29 Apr 2020 19:59:37 -0400 Subject: [PATCH] Fix unsupported onStart Clutter animation property --- appIcons.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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;