mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-21 16:13:57 +00:00
Fix not being centered at start
This commit is contained in:
parent
77cd315dcb
commit
1e0a1b87ac
1 changed files with 3 additions and 3 deletions
|
@ -81,8 +81,8 @@ function getDirection(dir: Direction) {
|
|||
}
|
||||
|
||||
const factorySize = {
|
||||
width: 6,
|
||||
height: 6
|
||||
width: 2,
|
||||
height: 2
|
||||
};
|
||||
const blockSize = 50;
|
||||
|
||||
|
@ -454,6 +454,7 @@ const factory = createLayer(id, () => {
|
|||
}
|
||||
|
||||
loaded = true;
|
||||
watchEffect(updateGraphics);
|
||||
});
|
||||
(window as any).internal = compInternalData;
|
||||
(window as any).comp = components;
|
||||
|
@ -773,7 +774,6 @@ const factory = createLayer(id, () => {
|
|||
graphicContainer.addChild(hoverSprite);
|
||||
}
|
||||
}
|
||||
watchEffect(updateGraphics);
|
||||
|
||||
const pointerDown = ref(false),
|
||||
pointerDrag = ref(false),
|
||||
|
|
Loading…
Reference in a new issue