Fix restricted map controls and release verification
All checks were successful
Deploy MineGeo to Dokploy / deploy (push) Successful in 5m17s
All checks were successful
Deploy MineGeo to Dokploy / deploy (push) Successful in 5m17s
This commit is contained in:
@@ -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={
|
||||
|
||||
Reference in New Issue
Block a user