Removed unused updateMouse function

This commit is contained in:
thepaperpilot 2022-03-27 00:49:04 -05:00
parent 561dd35570
commit c00a695edc

View file

@ -1,6 +1,6 @@
<template> <template>
<div id="modal-root" :style="theme" /> <div id="modal-root" :style="theme" />
<div class="app" @mousemove="updateMouse" :style="theme" :class="{ useHeader }"> <div class="app" :style="theme" :class="{ useHeader }">
<Nav v-if="useHeader" /> <Nav v-if="useHeader" />
<Game /> <Game />
<TPS v-if="unref(showTPS)" /> <TPS v-if="unref(showTPS)" />
@ -24,10 +24,6 @@ import themes from "./data/themes";
import settings, { gameComponents } from "./game/settings"; import settings, { gameComponents } from "./game/settings";
import "./main.css"; import "./main.css";
function updateMouse(/* event */) {
// TODO use event to update mouse position for particles
}
const useHeader = projInfo.useHeader; const useHeader = projInfo.useHeader;
const theme = computed(() => themes[settings.theme].variables); const theme = computed(() => themes[settings.theme].variables);
const showTPS = toRef(settings, "showTPS"); const showTPS = toRef(settings, "showTPS");