From 963f1ecf81ca2938364b5defdad5bd059c851601 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Thu, 10 Oct 2024 18:26:15 +0800 Subject: feat: only show map id when select manually --- src/dumbyUtils.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dumbyUtils.mjs') diff --git a/src/dumbyUtils.mjs b/src/dumbyUtils.mjs index 8148366..170cb16 100644 --- a/src/dumbyUtils.mjs +++ b/src/dumbyUtils.mjs @@ -12,7 +12,7 @@ export function focusNextMap (reverse = false) { const nextIndex = (index + (reverse ? -1 : 1)) % renderedList.length const nextMap = renderedList.at(nextIndex) - nextMap.classList.add('focus') + nextMap.classList.add('focus', 'focus-manual') nextMap.scrollIntoView({ behavior: 'smooth' }) } -- cgit v1.2.3-70-g09d2