Change offset of clearRect.

This commit is contained in:
Torbjörn Kvist 2018-05-18 07:42:24 +02:00
parent 541c7c5fe5
commit f509f43472

View File

@ -358,8 +358,8 @@ $.Tile.prototype = {
context.clearRect( context.clearRect(
position.x + 1, position.x + 1,
position.y + 1, position.y + 1,
size.x - 2, size.x - 1,
size.y - 2 size.y - 1
); );
} }