Skip to content

Commit a4c97ba

Browse files
committed
Fix display bug with SubjectConfitmation and MicrophoneTest
1 parent 5b474ec commit a4c97ba

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Runtime/Scripts/Experiment/ExperimentBase.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,7 @@ await ExpHelpers.RepeatUntilYes(async (CancellationToken ct) => {
341341
manager.playback.PlayOneShot(clip);
342342
await Timing.Delay(Config.micTestDurationMs, ct: ct);
343343
}, "repeat mic test", LangStrings.RepeatMicTest(), new());
344+
textDisplayer.Clear();
344345
}
345346
protected virtual async Awaitable SubjectConfirmation(CancellationToken ct = default) {
346347
ExpHelpers.SetExperimentStatus(HostPcStatusMsg.WAITING());
@@ -352,6 +353,7 @@ protected virtual async Awaitable SubjectConfirmation(CancellationToken ct = def
352353
if (keyCode == KeyCode.N) {
353354
await manager.QuitTS();
354355
}
356+
textDisplayer.Clear();
355357
}
356358
protected virtual async Awaitable ConfirmStart(CancellationToken ct = default) {
357359
await ExpHelpers.PressAnyKey("confirm start", LangStrings.ConfirmStart(), ct);

0 commit comments

Comments
 (0)