This commit is contained in:
Peter Cottle 2013-07-31 22:20:55 -07:00
parent bd95734751
commit edb4f0dc2a
5 changed files with 387 additions and 67 deletions

View file

@ -103,6 +103,14 @@ AnimationFactory.playRefreshAnimationAndFinish = function(gitVisuals, animationQ
animationQueue.thenFinish(animation.getPromise());
};
AnimationFactory.genRefreshPromiseAnimation = function(gitVisuals) {
return new PromiseAnimation({
closure: function() {
gitVisuals.refreshTree();
}
});
};
AnimationFactory.playRefreshAnimationSlow = function(gitVisuals) {
var time = GRAPHICS.defaultAnimationTime;
return this.playRefreshAnimation(gitVisuals, time * 2);

View file

@ -407,7 +407,7 @@ var VisBranch = VisBase.extend({
var name = this.getName();
// when from a reload, we dont need to generate the text
text = paper.text(textPos.x, textPos.y, String(name));
var text = paper.text(textPos.x, textPos.y, String(name));
text.attr({
'font-size': 14,
'font-family': 'Monaco, Courier, font-monospace',