@@ -35,6 +35,9 function drawRevisionGraph(holder, commits_hash, graph_space) { | |||
|
35 | 35 | var path, title; |
|
36 | 36 | var revision_dot_overlay; |
|
37 | 37 | $.each(commits, function(index, commit) { |
|
38 | if (!commit.hasOwnProperty("space")) | |
|
39 | commit.space = 0; | |
|
40 | ||
|
38 | 41 | y = commit_table_rows.eq(max_rdmid - commit.rdmid).position().top - graph_y_offset + CIRCLE_INROW_OFFSET; |
|
39 | 42 | x = graph_x_offset + XSTEP / 2 + XSTEP * commit.space; |
|
40 | 43 | revisionGraph.circle(x, y, 3) |
@@ -46,6 +49,9 function drawRevisionGraph(holder, commits_hash, graph_space) { | |||
|
46 | 49 | $.each(commit.parent_scmids, function(index, parent_scmid) { |
|
47 | 50 | parent_commit = commits_by_scmid[parent_scmid]; |
|
48 | 51 | if (parent_commit) { |
|
52 | if (!parent_commit.hasOwnProperty("space")) | |
|
53 | parent_commit.space = 0; | |
|
54 | ||
|
49 | 55 | parent_y = commit_table_rows.eq(max_rdmid - parent_commit.rdmid).position().top - graph_y_offset + CIRCLE_INROW_OFFSET; |
|
50 | 56 | parent_x = graph_x_offset + XSTEP / 2 + XSTEP * parent_commit.space; |
|
51 | 57 | if (parent_commit.space == commit.space) { |
General Comments 0
You need to be logged in to leave comments.
Login now