mirror of
https://github.com/tobspr-games/shapez.io.git
synced 2026-03-15 11:11:00 -07:00
Adjust item size
This commit is contained in:
parent
1ec8b4fe28
commit
b0058cb59b
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue