Compare commits

...

2 commits

Author SHA1 Message Date
4987916900 Fix last lint issue 2024-10-20 13:51:31 -05:00
528e703c88 Ran lint:fix 2024-10-20 11:46:09 -05:00
3 changed files with 14 additions and 7 deletions

View file

@ -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++) {

View file

@ -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
);

View file

@ -1,3 +1,7 @@
/* eslint-disable vue/multi-word-component-names */
// ^ I have no idea why that's necessary; the rule is disabled, and this file isn't a vue component?
// I'm _guessing_ it's related to us using DefineComponent, but I figured that eslint rule should
// only apply to SFCs
import Col from "components/layout/Column.vue";
import Row from "components/layout/Row.vue";
import type { CoercableComponent, GenericComponent, JSXFunction } from "features/feature";