Skip to content

Commit b5cdfa2

Browse files
author
ozelot379
committed
Fix
1 parent a2ee895 commit b5cdfa2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/converter/DespriteConverter.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ class DespriteConverter extends AbstractConverter {
88
* @inheritDoc
99
*/
1010
async convert() {
11-
const [input, factory_detect, sprites] = this.data;
11+
const [input, factor_detect, sprites] = this.data;
1212

1313
if (!await this.output.exists(input)) {
1414
return [];
1515
}
1616

1717
const image_from = await this.readImage(input);
1818

19-
const factor = (image_from.getWidth() / factory_detect);
19+
const factor = (image_from.getWidth() / factor_detect);
2020

2121
for (const [x, y, width, height, to] of sprites) {
2222
this.log.log(`Desprite ${to}`);

0 commit comments

Comments
 (0)