ScreenShield: fix setting each arrow's opacity on _animateArrows()

https://bugzilla.gnome.org/show_bug.cgi?id=767954
This commit is contained in:
Rui Matos 2016-06-22 21:10:07 +02:00
parent 3e93a1bdd6
commit e02467eada

View File

@ -711,7 +711,7 @@ const ScreenShield = new Lang.Class({
let unitaryDelay = ARROW_ANIMATION_TIME / (arrows.length + 1);
let maxOpacity = 255 * ARROW_ANIMATION_PEAK_OPACITY;
for (let i = 0; i < arrows.length; i++) {
arrows.opacity = 0;
arrows[i].opacity = 0;
Tweener.addTween(arrows[i],
{ opacity: 0,
delay: unitaryDelay * (N_ARROWS - (i + 1)),