fix name clash which was overriding an existing event handler

fixes #9829

fixes regression from d7902e1388
This commit is contained in:
Martin Raifer
2023-08-11 15:11:25 +02:00
parent 3f533b93a5
commit c297d9bc18

View File

@@ -433,7 +433,7 @@ export function uiSectionPhotoOverlays(context) {
context.photos().on('change.uiSectionPhotoOverlays', section.reRender);
context.map()
.on('move.background_list',
.on('move.photo_overlays',
_debounce(function() {
// layers in-view may have changed due to map move
window.requestIdleCallback(section.reRender);