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