From 8bf67ab168df667b9353a278e3df8757191828a9 Mon Sep 17 00:00:00 2001 From: Dennis Postma Date: Fri, 14 Feb 2025 02:23:13 +0100 Subject: [PATCH] Minor fix and format --- src/components/game/gui/Chat.vue | 1 - src/components/gameMaster/mapEditor/Map.vue | 24 ++++++++----------- .../mapEditor/mapPartials/MapEventTiles.vue | 15 ++++-------- .../mapEditor/mapPartials/MapTiles.vue | 11 ++++----- .../mapPartials/PlacedMapObjects.vue | 15 ++++++------ .../partials/SelectedPlacedMapObject.vue | 2 +- .../gameMaster/mapEditor/partials/Toolbar.vue | 2 +- src/components/screens/MapEditor.vue | 2 +- src/services/mapService.ts | 19 ++++++--------- src/stores/mapStore.ts | 2 +- 10 files changed, 36 insertions(+), 57 deletions(-) diff --git a/src/components/game/gui/Chat.vue b/src/components/game/gui/Chat.vue index c25b9ef..5fdc69c 100644 --- a/src/components/game/gui/Chat.vue +++ b/src/components/game/gui/Chat.vue @@ -82,7 +82,6 @@ const scrollToBottom = () => { gameStore.connection?.on(SocketEvent.CHAT_MESSAGE, (data: { character: string; message: string }) => { if (!data.character || !data.message) return - chats.value.push({ character: data.character, message: data.message }) scrollToBottom() diff --git a/src/components/gameMaster/mapEditor/Map.vue b/src/components/gameMaster/mapEditor/Map.vue index 26f0f2d..4e20c8b 100644 --- a/src/components/gameMaster/mapEditor/Map.vue +++ b/src/components/gameMaster/mapEditor/Map.vue @@ -5,18 +5,16 @@ diff --git a/src/components/gameMaster/mapEditor/mapPartials/MapTiles.vue b/src/components/gameMaster/mapEditor/mapPartials/MapTiles.vue index 2d0e524..86a8e1f 100644 --- a/src/components/gameMaster/mapEditor/mapPartials/MapTiles.vue +++ b/src/components/gameMaster/mapEditor/mapPartials/MapTiles.vue @@ -3,11 +3,11 @@