From 8877a9e1c82c8198ae6ee235c297b6114ea326ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Tue, 17 Mar 2026 13:18:17 +0400 Subject: [PATCH] Remove unnecessary whitespace --- app/components/map.gjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/map.gjs b/app/components/map.gjs index d72039e..c766f64 100644 --- a/app/components/map.gjs +++ b/app/components/map.gjs @@ -647,10 +647,10 @@ export default class MapComponent extends Component { // = sidebarWidth/2 + totalWidth/2 // Map Center is totalWidth/2 // Offset = sidebarWidth/2 (to the right) - + const offsetPixels = sidebarWidth / 2; const offsetMapUnits = offsetPixels * resolution; - + // We want pin at center + offset. // So map center must be pin - offset. // X increases to the right.