Skip to content

Commit a9e8c49

Browse files
committed
fixed typo
1 parent 73dc884 commit a9e8c49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tilemaps/dynamiclayer/DynamicTilemapLayerCanvasRenderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ var DynamicTilemapLayerCanvasRenderer = function (renderer, src, camera, parentM
8888

8989
if (tileTexCoords)
9090
{
91-
var halfWidth = tileset.tileWidth 2;
91+
var halfWidth = tileset.tileWidth / 2;
9292
var halfHeight = tileset.tileHeight / 2;
9393

9494
ctx.save();

0 commit comments

Comments
 (0)