Changeset - fde242bdd9ce
[Not reviewed]
beta
0 1 0
Aras Pranckevicius - 14 years ago 2012-01-05 19:21:32
aras@unity3d.com
changelog: make graph center be slighly inside vertical commit space; center being in top corner looks confusing
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
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;
 
				y = row.offsetTop-rela.offsetTop+20;
 
				x = pad-((this.cell[0] + this.box_size * start - 1) + this.bg_height-2);
 
				
 
				this.ctx.lineWidth=this.line_width;
 
@@ -118,7 +118,7 @@ function BranchRenderer() {
 
			color = node[1]
 
			
 
			radius = this.dot_radius;
 
			y = row.offsetTop-rela.offsetTop;
 
			y = row.offsetTop-rela.offsetTop+20;
 
			x = pad-(Math.round(this.cell[0] * scale/2 * column + radius) + 15 - (column*4));
 
		
 
			this.ctx.beginPath();
0 comments (0 inline, 0 general)