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