We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38a98e2 commit ae57ab4Copy full SHA for ae57ab4
src/Optimizer.ts
@@ -179,7 +179,7 @@ export class Optimizer {
179
180
private async optimizeNewTile(tileId: number): Promise<number> {
181
if (this.logLevel === LogLevel.VERBOSE) {
182
- console.log(`${tileId} tile is optimizing...`);
+ //console.log(`${tileId} tile is optimizing...`);
183
}
184
185
let minBitId;
@@ -321,7 +321,7 @@ export class Optimizer {
321
if (tileData.animation) {
322
newTileData.animation = [];
323
for (const frame of tileData.animation) {
324
- this.optimizeNewTile(oldFirstgid + frame.tileid);
+ await this.optimizeNewTile(oldFirstgid + frame.tileid);
325
326
newTileData.animation.push({
327
duration: frame.duration,
0 commit comments