From c297d9bc18cbc97503e861a416ef76aaf8355fe8 Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Fri, 11 Aug 2023 15:11:25 +0200 Subject: [PATCH] fix name clash which was overriding an existing event handler fixes #9829 fixes regression from d7902e1388406fa82138fd11695f1462d0794287 --- modules/ui/sections/photo_overlays.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ui/sections/photo_overlays.js b/modules/ui/sections/photo_overlays.js index fe76d6dbe..7d5c35ea2 100644 --- a/modules/ui/sections/photo_overlays.js +++ b/modules/ui/sections/photo_overlays.js @@ -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);