make it buildable to db system #2
|
@ -3,14 +3,14 @@
|
||||||
|
|
||||||
let cursor: HTMLDivElement;
|
let cursor: HTMLDivElement;
|
||||||
|
|
||||||
type position = {
|
type pos = {
|
||||||
x: number;
|
x: number;
|
||||||
y: number;
|
y: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
let disabled = false;
|
let disabled = false;
|
||||||
let rawPosition: position = { x: 0, y: -100 };
|
let rawPosition: pos = { x: 0, y: -100 };
|
||||||
let position: position = { x: 0, y: 0 };
|
let position: pos = { x: 0, y: 0 };
|
||||||
|
|
||||||
onMount(() => {
|
onMount(() => {
|
||||||
window.addEventListener('mousemove', (e) => {
|
window.addEventListener('mousemove', (e) => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user