slick max depth

This commit is contained in:
Peter Cottle 2012-10-13 01:57:58 -07:00
parent 70e2165aea
commit 1d59152931
3 changed files with 7 additions and 2 deletions

View file

@ -374,7 +374,7 @@ GitVisuals.prototype.getDepthIncrement = function(maxDepth) {
};
GitVisuals.prototype.calcDepthRecursive = function(commit, depth) {
commit.get('visNode').set('depth', depth);
commit.get('visNode').setDepth(depth);
var children = commit.get('children');
var maxDepth = depth;