diff options
Diffstat (limited to 'assets/javascripts/rectangles/map/draw.js')
| -rw-r--r-- | assets/javascripts/rectangles/map/draw.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/javascripts/rectangles/map/draw.js b/assets/javascripts/rectangles/map/draw.js index 518c160..cfa99d4 100644 --- a/assets/javascripts/rectangles/map/draw.js +++ b/assets/javascripts/rectangles/map/draw.js @@ -8,7 +8,7 @@ map.draw = new function(){ map.draw.clear_canvas() map.draw.ruler() - ctx.translate( map.bounds.a * 1/2, map.bounds.b * 1/2) + ctx.translate( map.bounds.a * 1/2, map.bounds.b * 1/2) ctx.scale( map.zoom, map.zoom ) ctx.translate( map.center.a, map.center.b) ctx.scale( -1, 1 ) |
