From ff9dcb91b096c2f012d8575cbbbc07afdd44ca1a Mon Sep 17 00:00:00 2001 From: Andrei Date: Mon, 3 Feb 2025 14:53:46 -0600 Subject: [PATCH] Map object position as tile coordinates, map objects correctly snap to each tile now when moving, and fixed bug of placing objects over eachother on the same tile --- .../mapEditor/mapPartials/MapTiles.vue | 5 ++--- .../mapPartials/PlacedMapObjects.vue | 20 +++++++++++-------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/src/components/gameMaster/mapEditor/mapPartials/MapTiles.vue b/src/components/gameMaster/mapEditor/mapPartials/MapTiles.vue index 3408bde..cd3cbfb 100644 --- a/src/components/gameMaster/mapEditor/mapPartials/MapTiles.vue +++ b/src/components/gameMaster/mapEditor/mapPartials/MapTiles.vue @@ -3,13 +3,12 @@