From 9a162544cce0e71580cab0f556eb9910235889f4 Mon Sep 17 00:00:00 2001 From: Miodec Date: Tue, 11 Oct 2022 13:39:06 +0200 Subject: [PATCH] clearing long text flag on practise closes #3644 --- frontend/src/ts/test/practise-words.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/ts/test/practise-words.ts b/frontend/src/ts/test/practise-words.ts index d5bf62709..377668a76 100644 --- a/frontend/src/ts/test/practise-words.ts +++ b/frontend/src/ts/test/practise-words.ts @@ -4,6 +4,7 @@ import Config, * as UpdateConfig from "../config"; import * as CustomText from "./custom-text"; import * as TestInput from "./test-input"; import * as ConfigEvent from "../observables/config-event"; +import { setCustomTextName } from "../states/custom-text-name"; interface Before { mode: MonkeyTypes.Mode | null; @@ -96,6 +97,8 @@ export function init(missed: boolean, slow: boolean): void { ); CustomText.setTime(-1); + setCustomTextName("practise", undefined); + before.mode = mode; before.punctuation = punctuation; before.numbers = numbers;