From 240f60b2836a0d933c5d1a80543fa46a28418269 Mon Sep 17 00:00:00 2001 From: akanyan Date: Sun, 27 Apr 2025 18:53:01 +0000 Subject: [PATCH] fix: some more polish --- CHANGELOG.md | 3 +++ src/components/Onboarding.vue | 16 ++++++++++------ src/components/StartButton.vue | 5 ++++- src/i18n.ts | 2 ++ src/i18n/en.ts | 6 +++--- src/stores.ts | 2 +- 6 files changed, 23 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fb8b11d..451d681 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ - Fixed the clear cache button not working - Fixed Linux builds - Moved the store tab to the left +- "Reapply mods and start" renamed from "Refresh and start" to better convey the meaning +- "Reapply mods and start" is no longer necessary when enabling packages from the `local` namespace +- Various internationalization additions - STARTLINER now remembers the recently open tab and re-opens it on the next session - Added "Beta" to the title as STARTLINER is approaching feature-completeness diff --git a/src/components/Onboarding.vue b/src/components/Onboarding.vue index 0cf4e7a..1610db6 100644 --- a/src/components/Onboarding.vue +++ b/src/components/Onboarding.vue @@ -88,7 +88,9 @@ const data: ComputedRef = computed(() => { return res; }); -const counter = ref(0); +const context = ref({ + index: 0, +}); onMounted(async () => { [standardOngeki, systemProcessing, lever, server, finaleOngeki] = @@ -127,7 +129,8 @@ onMounted(async () => { }); const exitLabel = computed(() => { - return props.firstTime === true && counter.value < data.value.length - 1 + return props.firstTime === true && + context.value.index < data.value.length - 1 ? 'Skip' : 'Close'; }); @@ -144,13 +147,14 @@ const exitLabel = computed(() => { : `${game ? prettyPrint(game) : ''} help` " :style="{ width: '760px', scale: client.scaleValue }" + v-on:show="() => (context.index = 0)" >