From 33daee1d2733658b71b4761a90af3d6d31826fca Mon Sep 17 00:00:00 2001 From: Svipal Date: Sun, 22 Mar 2020 08:48:26 +0100 Subject: [PATCH] canvas renderer typo fix --- src/tilemaps/dynamiclayer/DynamicTilemapLayerCanvasRenderer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tilemaps/dynamiclayer/DynamicTilemapLayerCanvasRenderer.js b/src/tilemaps/dynamiclayer/DynamicTilemapLayerCanvasRenderer.js index ac22f09e5..9ae620c1e 100644 --- a/src/tilemaps/dynamiclayer/DynamicTilemapLayerCanvasRenderer.js +++ b/src/tilemaps/dynamiclayer/DynamicTilemapLayerCanvasRenderer.js @@ -96,7 +96,7 @@ var DynamicTilemapLayerCanvasRenderer = function (renderer, src, interpolationPe { // we use the tileset width and height because in isometric and hexagonal maps the tileset's height is often different from the tilemap's. width = tileset.tileWidth; - width = tileset.tileHeight; + height = tileset.tileHeight; } var halfWidth = width / 2;