Merge branch 'fix-clicking-on-map' into 'main'
Fix clicking on map crashing See merge request framasoft/mobilizon!1239
This commit is contained in:
commit
90980bc2c5
@ -142,8 +142,10 @@ export default class Map extends Vue {
|
|||||||
}
|
}
|
||||||
|
|
||||||
updateDraggableMarkerPosition(e: LatLng): void {
|
updateDraggableMarkerPosition(e: LatLng): void {
|
||||||
|
if (this.updateDraggableMarkerCallback) {
|
||||||
this.updateDraggableMarkerCallback(e, this.zoom);
|
this.updateDraggableMarkerCallback(e, this.zoom);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
updateZoom(zoom: number): void {
|
updateZoom(zoom: number): void {
|
||||||
this.zoom = zoom;
|
this.zoom = zoom;
|
||||||
|
Loading…
Reference in New Issue
Block a user