Skip to content

Commit

Permalink
changed vertex number render fillstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Apr 23, 2015
1 parent 74bc8ae commit bc88406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render/Render.js
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ var Render = {};
for (k = parts.length > 1 ? 1 : 0; k < parts.length; k++) {
var part = parts[k];
for (j = 0; j < part.vertices.length; j++) {
c.fillStyle = 'yellow';
c.fillStyle = 'rgba(255,255,255,0.2)';
c.fillText(i + '_' + j, part.position.x + (part.vertices[j].x - part.position.x) * 0.8, part.position.y + (part.vertices[j].y - part.position.y) * 0.8);
}
}
Expand Down

0 comments on commit bc88406

Please sign in to comment.