##// END OF EJS Templates
changelog: make graph center be slighly inside vertical commit space; center being in top corner looks confusing
Aras Pranckevicius -
r1848:fde242bd beta
parent child Browse files
Show More
@@ -100,7 +100,7 function BranchRenderer() {
100
100
101 this.setColor(color, 0.0, 0.65);
101 this.setColor(color, 0.0, 0.65);
102
102
103 y = row.offsetTop-rela.offsetTop;
103 y = row.offsetTop-rela.offsetTop+20;
104 x = pad-((this.cell[0] + this.box_size * start - 1) + this.bg_height-2);
104 x = pad-((this.cell[0] + this.box_size * start - 1) + this.bg_height-2);
105
105
106 this.ctx.lineWidth=this.line_width;
106 this.ctx.lineWidth=this.line_width;
@@ -118,7 +118,7 function BranchRenderer() {
118 color = node[1]
118 color = node[1]
119
119
120 radius = this.dot_radius;
120 radius = this.dot_radius;
121 y = row.offsetTop-rela.offsetTop;
121 y = row.offsetTop-rela.offsetTop+20;
122 x = pad-(Math.round(this.cell[0] * scale/2 * column + radius) + 15 - (column*4));
122 x = pad-(Math.round(this.cell[0] * scale/2 * column + radius) + 15 - (column*4));
123
123
124 this.ctx.beginPath();
124 this.ctx.beginPath();
General Comments 0
You need to be logged in to leave comments. Login now