Permalink
Browse files

Show sensible debug numbers on tiles.

  • Loading branch information...
kevadsett committed Sep 10, 2016
1 parent 394359b commit 0bed78eb884daa01df6731d85846d8937cdcd7cb
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/js/views/LevelTileView.js
@@ -28,7 +28,9 @@ LevelTileView.prototype = {
if (window.drawDebug) {
ctx.fillStyle = "white";
ctx.fillText(this.model.index, scaledPosition.x, scaledPosition.y + 10);
ctx.font = "12px sans-serif";
ctx.textAlign = "left";
ctx.fillText(this.model.index, scaledPosition.x + 6, scaledPosition.y + 18);
}
},
destroy: function() {

0 comments on commit 0bed78e

Please sign in to comment.