##// END OF EJS Templates
fixed chrome DAG graph rendering issue - simplified graph.js
marcink -
r1464:31ed19b1 beta
parent child Browse files
Show More
@@ -75,7 +75,6 b' function BranchRenderer() {'
75 // extra = next.outerHeight();
75 // extra = next.outerHeight();
76 //}
76 //}
77
77
78
79 this.cell[1] += row.clientWidth;
78 this.cell[1] += row.clientWidth;
80 this.bg[1] += this.bg_height;
79 this.bg[1] += this.bg_height;
81
80
@@ -101,15 +100,14 b' function BranchRenderer() {'
101
100
102 this.setColor(color, 0.0, 0.65);
101 this.setColor(color, 0.0, 0.65);
103
102
104
105 y = row.offsetTop-rela.offsetTop+4;
103 y = row.offsetTop-rela.offsetTop+4;
106 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
107 this.ctx.lineWidth=this.line_width;
106 this.ctx.lineWidth=this.line_width;
108 this.ctx.beginPath();
107 this.ctx.beginPath();
109 this.ctx.moveTo(x, y);
108 this.ctx.moveTo(x, y);
110
109
111 //i don't know why it's +1 just fixes some drawing graph.
110 y += row.offsetHeight;
112 y += row.clientHeight+1;
113 x = pad-((1 + this.box_size * end) + this.bg_height-2);
111 x = pad-((1 + this.box_size * end) + this.bg_height-2);
114 this.ctx.lineTo(x,y+extra,3);
112 this.ctx.lineTo(x,y+extra,3);
115 this.ctx.stroke();
113 this.ctx.stroke();
General Comments 0
You need to be logged in to leave comments. Login now