mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-10 08:41:51 +00:00
Update 1
This commit is contained in:
parent
e6c3e5452e
commit
455ef08fef
Binary file not shown.
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 6.4 KiB |
@ -84,6 +84,14 @@ export class DisplaySystem extends GameSystemWithFilter {
|
|||||||
globalConfig.tileSize
|
globalConfig.tileSize
|
||||||
);
|
);
|
||||||
} else if (value.getItemType() === "shape") {
|
} else if (value.getItemType() === "shape") {
|
||||||
|
if (this.root.currentLayer == "wires") {
|
||||||
|
value.drawItemCenteredClipped(
|
||||||
|
(origin.x + 0.5) * globalConfig.tileSize,
|
||||||
|
(origin.y + 0.5) * globalConfig.tileSize,
|
||||||
|
parameters,
|
||||||
|
30
|
||||||
|
);
|
||||||
|
}
|
||||||
value.drawItemCenteredClipped(
|
value.drawItemCenteredClipped(
|
||||||
(origin.x + 0.5) * globalConfig.tileSize,
|
(origin.x + 0.5) * globalConfig.tileSize,
|
||||||
(origin.y + 0.5) * globalConfig.tileSize,
|
(origin.y + 0.5) * globalConfig.tileSize,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user