Changeset - a0287ee1fd87
[Not reviewed]
beta
0 2 0
Marcin Kuzminski - 14 years ago 2011-11-05 00:57:51
marcin@python-works.com
fixes for DAG renderer on chrome
2 files changed with 4 insertions and 3 deletions:
0 comments (0 inline, 0 general)
rhodecode/public/css/style.css
Show inline comments
 
@@ -1903,7 +1903,7 @@ h3.files_location {
 
#graph_nodes {
 
	float: left;
 
	margin-right: -6px;
 
	margin-top: -4px;
 
	margin-top: 0px;
 
}
 
 
#graph_content {
rhodecode/public/js/graph.js
Show inline comments
 
@@ -100,7 +100,7 @@ function BranchRenderer() {
 
				
 
				this.setColor(color, 0.0, 0.65);
 
				
 
				y = row.offsetTop-rela.offsetTop+4;
 
				y = row.offsetTop-rela.offsetTop;
 
				x = pad-((this.cell[0] + this.box_size * start - 1) + this.bg_height-2);
 
				
 
				this.ctx.lineWidth=this.line_width;
 
@@ -108,6 +108,7 @@ function BranchRenderer() {
 
				this.ctx.moveTo(x, y);
 

	
 
				y += row.offsetHeight;
 
				
 
				x = pad-((1 + this.box_size * end) + this.bg_height-2);
 
				this.ctx.lineTo(x,y+extra,3);
 
				this.ctx.stroke();
 
@@ -117,7 +118,7 @@ function BranchRenderer() {
 
			color = node[1]
 
			
 
			radius = this.dot_radius;
 
			y = row.offsetTop-rela.offsetTop+4;
 
			y = row.offsetTop-rela.offsetTop;
 
			x = pad-(Math.round(this.cell[0] * scale/2 * column + radius) + 15 - (column*4));
 
		
 
			this.ctx.beginPath();
0 comments (0 inline, 0 general)