##// END OF EJS Templates
fixes for DAG renderer on chrome
marcink -
r1655:a0287ee1 beta
parent child Browse files
Show More
@@ -1903,7 +1903,7 h3.files_location {
1903 #graph_nodes {
1903 #graph_nodes {
1904 float: left;
1904 float: left;
1905 margin-right: -6px;
1905 margin-right: -6px;
1906 margin-top: -4px;
1906 margin-top: 0px;
1907 }
1907 }
1908
1908
1909 #graph_content {
1909 #graph_content {
@@ -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+4;
103 y = row.offsetTop-rela.offsetTop;
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;
@@ -108,6 +108,7 function BranchRenderer() {
108 this.ctx.moveTo(x, y);
108 this.ctx.moveTo(x, y);
109
109
110 y += row.offsetHeight;
110 y += row.offsetHeight;
111
111 x = pad-((1 + this.box_size * end) + this.bg_height-2);
112 x = pad-((1 + this.box_size * end) + this.bg_height-2);
112 this.ctx.lineTo(x,y+extra,3);
113 this.ctx.lineTo(x,y+extra,3);
113 this.ctx.stroke();
114 this.ctx.stroke();
@@ -117,7 +118,7 function BranchRenderer() {
117 color = node[1]
118 color = node[1]
118
119
119 radius = this.dot_radius;
120 radius = this.dot_radius;
120 y = row.offsetTop-rela.offsetTop+4;
121 y = row.offsetTop-rela.offsetTop;
121 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));
122
123
123 this.ctx.beginPath();
124 this.ctx.beginPath();
General Comments 0
You need to be logged in to leave comments. Login now