mirror of
https://github.com/photonstorm/phaser
synced 2025-02-25 20:07:08 +00:00
Fixed issue with static tilemap layer not getting the real texture dimension
issue ref: https://github.com/photonstorm/phaser/issues/3407
This commit is contained in:
parent
8092e574dd
commit
e50c42e0b8
1 changed files with 2 additions and 2 deletions
|
@ -220,8 +220,8 @@ var StaticTilemapLayer = new Class({
|
|||
var tileset = this.tileset;
|
||||
var mapWidth = this.layer.width;
|
||||
var mapHeight = this.layer.height;
|
||||
var width = tileset.image.get().width;
|
||||
var height = tileset.image.get().height;
|
||||
var width = tileset.image.source[0].width;
|
||||
var height = tileset.image.source[0].height;
|
||||
var mapData = this.layer.data;
|
||||
var renderer = this.renderer;
|
||||
var tile;
|
||||
|
|
Loading…
Add table
Reference in a new issue