adjust timeout animation

This commit is contained in:
Jasper St. Pierre 2013-12-13 13:37:22 -05:00
parent 26d2fb8a37
commit 75447b249c

View File

@ -1606,7 +1606,8 @@ const MessageTrayIndicator = new Lang.Class({
this.pressureValue = value;
if (value > 0) {
Tweener.removeTweens(this);
Tweener.addTween(this, { time: this._pressureBarrier.timeout / 1000,
Tweener.addTween(this, { time: 1,
delay: this._pressureBarrier.timeout / 1000,
pressureValue: 0 });
}
},