Fix restricted map controls and release verification
All checks were successful
Deploy MineGeo to Dokploy / deploy (push) Successful in 5m17s

This commit is contained in:
2026-10-20 16:46:36 +05:00
parent de0e891b62
commit 690fe12c2c
8 changed files with 222 additions and 47 deletions

View File

@@ -66,10 +66,10 @@ export function GuessMap({
maxBounds: b.pad(0.15),
attributionControl: false,
zoomControl: false,
scrollWheelZoom: zoom,
touchZoom: zoom,
doubleClickZoom: zoom,
boxZoom: zoom,
scrollWheelZoom: zoom && (pan ? true : "center"),
touchZoom: zoom && (pan ? true : "center"),
doubleClickZoom: zoom && (pan ? true : "center"),
boxZoom: zoom && pan,
dragging: pan,
keyboard: false,
});
@@ -232,6 +232,7 @@ export function GuessMap({
<div className="map-surface">
<div
ref={root}
tabIndex={0}
style={{ height: "100%", width: "100%" }}
role="application"
aria-label={