mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-29 17:27:22 +02:00
slick max depth
This commit is contained in:
parent
70e2165aea
commit
1d59152931
3 changed files with 7 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue