Skip to content

Commit 9d71925

Browse files
committed
Set loaded flag to true once initialised.
1 parent fbdbe5f commit 9d71925

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/controls/minimap.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,8 @@ export class MinimapControl
283283
this.#miniMapCanvas = miniMap.getCanvasContainer()
284284
this.#miniMapCanvas.addEventListener('wheel', this.#preventDefault)
285285
this.#miniMapCanvas.addEventListener('mousewheel', this.#preventDefault)
286+
287+
this.#loaded = true
286288
}
287289

288290
#mouseDown(e: maplibregl.MapMouseEvent)

0 commit comments

Comments
 (0)