diff --git a/src/tile.js b/src/tile.js index 28977f7d..aca41e1c 100644 --- a/src/tile.js +++ b/src/tile.js @@ -356,10 +356,10 @@ $.Tile.prototype = { //clearing only the inside of the rectangle occupied //by the png prevents edge flikering context.clearRect( - position.x + 1, - position.y + 1, - size.x - 1, - size.y - 1 + position.x, + position.y, + size.x, + size.y ); }