From 843cfb208849d652da16e943247057cf5a251254 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Thu, 25 Dec 2025 02:10:25 +0100 Subject: Fix shit with map --- src/frontend/app/components/shared/AppMap.tsx | 4 ++-- src/frontend/app/root.css | 9 +++++---- src/frontend/app/routes/map.tsx | 10 ++++------ src/frontend/public/maps/spritesheet/sprite.json | 8 ++++++++ src/frontend/public/maps/spritesheet/sprite.png | Bin 4817 -> 6134 bytes src/frontend/public/maps/spritesheet/sprite@2x.json | 8 ++++++++ src/frontend/public/maps/spritesheet/sprite@2x.png | Bin 11003 -> 13742 bytes 7 files changed, 27 insertions(+), 12 deletions(-) diff --git a/src/frontend/app/components/shared/AppMap.tsx b/src/frontend/app/components/shared/AppMap.tsx index adf860d..2c8d097 100644 --- a/src/frontend/app/components/shared/AppMap.tsx +++ b/src/frontend/app/components/shared/AppMap.tsx @@ -144,7 +144,7 @@ export const AppMap = forwardRef( } } }; - }, [syncState, updateMapState]); + }, [mapPositionMode, mapRef.current, updateMapState]); const getLatitude = (center: any) => Array.isArray(center) ? center[0] : center.lat; @@ -181,7 +181,7 @@ export const AppMap = forwardRef( return (