fix: move BETA badge after green dot in navbar

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-03-09 15:36:24 +00:00
co-authored by Claude Opus 4.6
parent 226d242552
commit df70f5f093
5 changed files with 46 additions and 19 deletions
+12 -2
View File
@@ -451,9 +451,13 @@ async function _doReplay() {
await sleep(insanityMode.value ? 50 : 300)
}
// Hide human player's typed answers from replay
const replayIsAHuman = props.fight.botA?.archetype === 'human'
const replayIsBHuman = props.fight.botB?.archetype === 'human'
// 2. Bot A: ensure audio ready, then show log + bubble + mouth + voice all at once
const isCodeRound = isCodeAnswer(round.challengeType, round.botAResponse || '')
if (round.botAResponse) {
if (round.botAResponse && !replayIsAHuman) {
if (doTTS && !isCodeRound) await awaitAnswerReady(props.fight.botA!.name, round.botAResponse)
scene?.stopShowboating('a')
logItems.value.push({ type: 'responseA', round: round.roundNumber, text: `${props.fight.botA?.name}: ${round.botAResponse || '[NO RESPONSE]'}`, color: 'neon-cyan' })
@@ -473,10 +477,13 @@ async function _doReplay() {
if (!doTTS && !insanityMode.value) await sleep(400)
scene?.stopTalking('a')
scene?.hideSpeechBubble('a')
} else if (replayIsAHuman) {
scene?.stopShowboating('a')
await sleep(insanityMode.value ? 50 : 200)
}
// 3. Bot B: ensure audio ready, then show log + bubble + mouth + voice all at once
if (round.botBResponse) {
if (round.botBResponse && !replayIsBHuman) {
if (doTTS && !isCodeRound) await awaitAnswerReady(props.fight.botB!.name, round.botBResponse)
scene?.stopShowboating('b')
logItems.value.push({ type: 'responseB', round: round.roundNumber, text: `${props.fight.botB?.name}: ${round.botBResponse || '[NO RESPONSE]'}`, color: 'neon-pink' })
@@ -497,6 +504,9 @@ async function _doReplay() {
if (!doTTS && !insanityMode.value) await sleep(400)
scene?.stopTalking('b')
scene?.hideSpeechBubble('b')
} else if (replayIsBHuman) {
scene?.stopShowboating('b')
await sleep(insanityMode.value ? 50 : 200)
}
// Stop all showboating before fight animation