mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
add border to full base screenshot
This commit is contained in:
parent
2ad07f9ace
commit
a806708333
@ -171,7 +171,9 @@ export class HUDScreenshotExporter extends BaseHUDPart {
|
||||
maxTile.x = Math.ceil(maxTile.x / globalConfig.mapChunkSize) * globalConfig.mapChunkSize;
|
||||
maxTile.y = Math.ceil(maxTile.y / globalConfig.mapChunkSize) * globalConfig.mapChunkSize;
|
||||
|
||||
tileBounds = Rectangle.fromTwoPoints(minTile, maxTile);
|
||||
tileBounds = Rectangle.fromTwoPoints(minTile, maxTile).expandedInAllDirections(
|
||||
globalConfig.mapChunkSize
|
||||
);
|
||||
}
|
||||
|
||||
// if the desired pixels per tile is too small, we do not create a border
|
||||
|
Loading…
Reference in New Issue
Block a user