From 6893c62c08938067347a3efed8672fd73ba2bd23 Mon Sep 17 00:00:00 2001 From: MDMCK10 Date: Tue, 16 Jul 2024 01:50:25 +0200 Subject: [PATCH] Run prettier --- msagent.js/src/agent.ts | 4 ++-- webapp/src/css/style.scss | 2 +- webapp/src/ts/MSWindow.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/msagent.js/src/agent.ts b/msagent.js/src/agent.ts index f3ff086..61ed751 100644 --- a/msagent.js/src/agent.ts +++ b/msagent.js/src/agent.ts @@ -232,7 +232,7 @@ export class Agent { { once: true } ); }); - + document.addEventListener('touchmove', (e) => { if (!this.dragging) return; @@ -258,7 +258,7 @@ export class Agent { this.y += e.movementY; this.setLoc(); }); - + window.addEventListener('resize', () => { this.setLoc(); }); diff --git a/webapp/src/css/style.scss b/webapp/src/css/style.scss index 2fced56..6d77a00 100644 --- a/webapp/src/css/style.scss +++ b/webapp/src/css/style.scss @@ -255,4 +255,4 @@ body { button { user-select: none; -} \ No newline at end of file +} diff --git a/webapp/src/ts/MSWindow.ts b/webapp/src/ts/MSWindow.ts index 72fdae1..b545c6c 100644 --- a/webapp/src/ts/MSWindow.ts +++ b/webapp/src/ts/MSWindow.ts @@ -96,7 +96,7 @@ export class MSWindow { { once: true } ); }); - + document.addEventListener('touchmove', (e) => { if (!this.dragging) return;