##// END OF EJS Templates
changelog: center graph points vertically, now that each row is same size
Aras Pranckevicius -
r1852:9b9e056c beta
parent child Browse files
Show More
@@ -100,7 +100,7 b' 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+20;
103 y = row.offsetTop-rela.offsetTop+row.offsetHeight/2;
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 b' 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+20;
121 y = row.offsetTop-rela.offsetTop+row.offsetHeight/2;
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