From f509f43472d3d126bcdd2dd55da34a5eea3b848c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torbj=C3=B6rn=20Kvist?= Date: Fri, 18 May 2018 07:42:24 +0200 Subject: [PATCH] Change offset of clearRect. --- src/tile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tile.js b/src/tile.js index de1eb40d..28977f7d 100644 --- a/src/tile.js +++ b/src/tile.js @@ -358,8 +358,8 @@ $.Tile.prototype = { context.clearRect( position.x + 1, position.y + 1, - size.x - 2, - size.y - 2 + size.x - 1, + size.y - 1 ); }