From 14ec0626e86d4c05915e87c6b57f5940538dc9fc Mon Sep 17 00:00:00 2001 From: Przemko07 Date: Mon, 21 Sep 2020 22:25:55 +0200 Subject: [PATCH] Use same scale for Atlas as zoomLvl Scale 1 is never gonnna be saved as screenshot. for most image exports 0.5 is used. chunkScale is determining that. --- src/js/game/hud/parts/screenshot_exporter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/game/hud/parts/screenshot_exporter.js b/src/js/game/hud/parts/screenshot_exporter.js index a3310204..59e76c63 100644 --- a/src/js/game/hud/parts/screenshot_exporter.js +++ b/src/js/game/hud/parts/screenshot_exporter.js @@ -87,7 +87,7 @@ export class HUDScreenshotExporter extends BaseHUDPart { const parameters = new DrawParameters({ context, visibleRect, - desiredAtlasScale: "1", + desiredAtlasScale: chunkScale, root: this.root, zoomLevel: chunkScale, });