Ran lint:fix
This commit is contained in:
parent
6c8dd66677
commit
528e703c88
2 changed files with 10 additions and 7 deletions
|
@ -405,10 +405,10 @@ export function placeInAvailableSpace<T extends NodePosition>(
|
||||||
direction === Direction.Right
|
direction === Direction.Right
|
||||||
? (a, b) => a.x - b.x
|
? (a, b) => a.x - b.x
|
||||||
: direction === Direction.Left
|
: direction === Direction.Left
|
||||||
? (a, b) => b.x - a.x
|
? (a, b) => b.x - a.x
|
||||||
: direction === Direction.Up
|
: direction === Direction.Up
|
||||||
? (a, b) => b.y - a.y
|
? (a, b) => b.y - a.y
|
||||||
: (a, b) => a.y - b.y
|
: (a, b) => a.y - b.y
|
||||||
);
|
);
|
||||||
|
|
||||||
for (let i = 0; i < nodes.length; i++) {
|
for (let i = 0; i < nodes.length; i++) {
|
||||||
|
|
|
@ -104,6 +104,9 @@ watch(hasWon, hasWon => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
setInterval(() => {
|
setInterval(
|
||||||
state.mouseActivity = [...state.mouseActivity.slice(-7), false];
|
() => {
|
||||||
}, 1000 * 60 * 60);
|
state.mouseActivity = [...state.mouseActivity.slice(-7), false];
|
||||||
|
},
|
||||||
|
1000 * 60 * 60
|
||||||
|
);
|
||||||
|
|
Loading…
Reference in a new issue