mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Update screenshot_exporter.js
This commit is contained in:
parent
c1ef4e85af
commit
8372293d5d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user