clearing long text flag on practise

closes #3644
This commit is contained in:
Miodec 2022-10-11 13:39:06 +02:00
parent 24f3a1c9bd
commit 9a162544cc

View file

@ -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;