aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/dumbymap.mjs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dumbymap.mjs b/src/dumbymap.mjs
index 7a54d73..e0f9ecc 100644
--- a/src/dumbymap.mjs
+++ b/src/dumbymap.mjs
@@ -363,7 +363,7 @@ export const generateMaps = (container, { delay, mapCallback }) => {
363 ?.enterHandler?.call(this, dumbymap); 363 ?.enterHandler?.call(this, dumbymap);
364 } 364 }
365 365
366 // Since layout change may show/hide showcase, the current focused map should do something 366 // Since layout change may show/hide showcase, the current focused map may need to go into/outside showcase
367 // Reset attribute triggers MutationObserver which is observing it 367 // Reset attribute triggers MutationObserver which is observing it
368 const focusMap = 368 const focusMap =
369 container.querySelector('.mapclay.focus') ?? 369 container.querySelector('.mapclay.focus') ??
@@ -506,6 +506,7 @@ export const generateMaps = (container, { delay, mapCallback }) => {
506 .forEach(e => e.remove()); 506 .forEach(e => e.remove());
507 } 507 }
508 508
509 // TODO Use debounce of user input to decide rendering timing
509 // Render maps with delay 510 // Render maps with delay
510 const timer = setTimeout( 511 const timer = setTimeout(
511 () => 512 () =>