forked from profectus/Profectus
Compare commits
2 commits
6c8dd66677
...
4987916900
Author | SHA1 | Date | |
---|---|---|---|
4987916900 | |||
528e703c88 |
3 changed files with 14 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
|
||||||
|
);
|
||||||
|
|
|
@ -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 Col from "components/layout/Column.vue";
|
||||||
import Row from "components/layout/Row.vue";
|
import Row from "components/layout/Row.vue";
|
||||||
import type { CoercableComponent, GenericComponent, JSXFunction } from "features/feature";
|
import type { CoercableComponent, GenericComponent, JSXFunction } from "features/feature";
|
||||||
|
|
Loading…
Reference in a new issue