feat: Detached pages and fix navigation actions

This commit is contained in:
Aleksi Lassila
2024-03-31 12:43:48 +03:00
parent 5b18c95766
commit b5b96bf3e5
14 changed files with 143 additions and 66 deletions

View File

@@ -25,7 +25,7 @@
function onPrevious() {
if (showcaseIndex === 0) {
Selectable.focusLeft();
Selectable.giveFocus('left');
} else {
showcaseIndex = (showcaseIndex - 1 + showcaseLength) % showcaseLength;
}