mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Adjust item size
This commit is contained in:
parent
1ec8b4fe28
commit
b0058cb59b
@ -112,7 +112,7 @@ export class MapChunkView extends MapChunk {
|
||||
if (patch.item.getItemType() === "shape") {
|
||||
const destX = this.x * dims + patch.pos.x * globalConfig.tileSize;
|
||||
const destY = this.y * dims + patch.pos.y * globalConfig.tileSize;
|
||||
const diameter = 100 / Math.pow(parameters.zoomLevel, 0.35);
|
||||
const diameter = 80 / Math.pow(parameters.zoomLevel, 0.35);
|
||||
patch.item.drawItemCenteredClipped(destX, destY, parameters, diameter);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user