know why its beause git engine ready is async and we dont have origin until that fires so animation gets messed up

This commit is contained in:
Peter Cottle 2013-06-02 17:43:56 -07:00
parent f438948660
commit b69c35d548
3 changed files with 33 additions and 6 deletions

View file

@ -274,8 +274,7 @@ GitEngine.prototype.makeOrigin = function(treeString) {
);
originMaster.set('remote', true);
// add a simple refresh animation
this.animationFactory.refreshTree(this.animationQueue, this.gitVisuals);
this.animationFactory.playRefreshAnimationAndFinish(this.gitVisuals, this.animationQueue);
};
GitEngine.prototype.getOrMakeRecursive = function(tree, createdSoFar, objID) {