Update screenshot_exporter.js

This commit is contained in:
xSparfuchs 2020-06-17 20:16:37 +02:00
parent c1ef4e85af
commit 8372293d5d
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ export class HUDScreenshotExporter extends BaseHUDPart {
if (dimensions.x + dimensions.y > 256) {
if (dimensions.x > dimensions.y) {
chunkSizePixels = Math.floor(128 * (128 / dimensions.x));
}else{
} else {
chunkSizePixels = Math.floor(128 * (128 / dimensions.y));
}
logger.log("ChunkSizePixels:", chunkSizePixels);