mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-25 01:41:48 +00:00
defines paused
This commit is contained in:
parent
40f8fae0ad
commit
c2e3b8eab5
1 changed files with 2 additions and 1 deletions
|
@ -860,7 +860,8 @@ const factory = createLayer(id, () => {
|
||||||
|
|
||||||
const pointerDown = ref(false),
|
const pointerDown = ref(false),
|
||||||
pointerDrag = ref(false),
|
pointerDrag = ref(false),
|
||||||
compHovered = ref<FactoryComponent | undefined>(undefined);
|
compHovered = ref<FactoryComponent | undefined>(undefined),
|
||||||
|
paused = ref(false);
|
||||||
|
|
||||||
function onFactoryPointerMove(e: PointerEvent) {
|
function onFactoryPointerMove(e: PointerEvent) {
|
||||||
const { x, y } = getRelativeCoords(e);
|
const { x, y } = getRelativeCoords(e);
|
||||||
|
|
Loading…
Reference in a new issue