forked from MapComplete/MapComplete
Fix keyboard navigation for the map if the focus is not on the main map element
This commit is contained in:
parent
512a0b87ac
commit
a20f6a2d27
5 changed files with 183 additions and 149 deletions
|
@ -574,6 +574,7 @@ export class MapLibreAdaptor implements MapProperties, ExportableMap {
|
|||
|
||||
private setAllowMoving(allow: true | boolean | undefined) {
|
||||
const map = this._maplibreMap.data
|
||||
console.log("Setting 'allowMoving' to", allow)
|
||||
if (!map) {
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue