fix canvas bug

This commit is contained in:
lh_wang
2015-08-06 15:57:58 +08:00
parent d6a5d6cb9d
commit 134dfb7aef
2 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ define('home/router', function(require, exports, module) {
ctx.fill();
ctx.beginPath();
ctx.fillStyle = '#4C4C4C';
ctx.fillStyle = '#000';
ctx.fillText(router[i].content, 2, 25 + 3 + i * 25);
ctx.closePath();
ctx.fill();