Skip to content

Commit

Permalink
fix import DrawMap
Browse files Browse the repository at this point in the history
  • Loading branch information
RSamaium committed Dec 21, 2024
1 parent dddd2db commit 5c056c4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion packages/core/src/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ export { Sprite } from './Sprite'
export { Text } from './Text'
export { TilingSprite } from './TilingSprite'
export { Viewport } from './Viewport'
export { ImageMap } from '../../../presets/src/DrawMap'
export { NineSliceSprite } from './NineSliceSprite'
export { type ComponentInstance } from './DisplayObject'
2 changes: 1 addition & 1 deletion packages/presets/src/Tilemap/TileLayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ settings.use32bitIndex = true
export class CanvasTileLayer extends DisplayObject(CompositeTilemap) {
private _tiles: any = {}
tiles: (TileClass | null)[]
private _layer: Layer
private _layer: any // TODO: fix this, remove any. replace with Layer

static findTileSet(gid: number, tileSets: TileSet[]) {
let tileset: TileSet | undefined
Expand Down

0 comments on commit 5c056c4

Please sign in to comment.