diff options
Diffstat (limited to 'src/dumbyUtils.mjs')
-rw-r--r-- | src/dumbyUtils.mjs | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
12 | const nextIndex = (index + (reverse ? -1 : 1)) % renderedList.length | 12 | const nextIndex = (index + (reverse ? -1 : 1)) % renderedList.length |
13 | 13 | ||
14 | const nextMap = renderedList.at(nextIndex) | 14 | const nextMap = renderedList.at(nextIndex) |
15 | nextMap.classList.add('focus') | 15 | nextMap.classList.add('focus', 'focus-manual') |
16 | nextMap.scrollIntoView({ behavior: 'smooth' }) | 16 | nextMap.scrollIntoView({ behavior: 'smooth' }) |
17 | } | 17 | } |
18 | 18 | ||