revert all done

This commit is contained in:
Peter Cottle 2013-06-04 14:34:47 -10:00
parent a8fce5a4ab
commit 6931992316
3 changed files with 48 additions and 6 deletions

View file

@ -88,6 +88,16 @@ AnimationFactory.prototype.playRefreshAnimationAndFinish = function(gitVisuals,
animationQueue.thenFinish(animation.getPromise());
};
AnimationFactory.prototype.playRefreshAnimation = function(gitVisuals) {
var animation = new PromiseAnimation({
closure: function() {
gitVisuals.refreshTree();
}
});
animation.play();
return animation.getPromise();
};
AnimationFactory.prototype.overrideOpacityDepth2 = function(attr, opacity) {
opacity = (opacity === undefined) ? 1 : opacity;