From 96e35f4c2eaaa88ac9dfc3a9922fe485be6473a0 Mon Sep 17 00:00:00 2001 From: Raphael Forment Date: Sun, 27 Aug 2023 18:44:27 +0200 Subject: [PATCH] another fix --- src/main.ts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/main.ts b/src/main.ts index d180bff..b06cc24 100644 --- a/src/main.ts +++ b/src/main.ts @@ -967,12 +967,8 @@ export class Editor { } } -// Creating the application const app = new Editor(); - - -// When the user leaves the page, all the universes should be saved in the localStorage window.addEventListener("beforeunload", () => { // @ts-ignore event.preventDefault(); @@ -983,11 +979,3 @@ window.addEventListener("beforeunload", () => { app.clock.stop(); return null; }); - -// function reportMouseCoordinates(event: MouseEvent) { -// app._mouseX = event.clientX; -// app._mouseY = event.clientY; -// } - -onmousemove = function(e){console.log("mouse location:", e.clientX, e.clientY)} -