feat: show tape mode used on result screen (@fehmer)

This commit is contained in:
Christian Fehmer 2024-10-14 11:43:47 +03:00
parent ebf98f15f6
commit eb68ba7b91
No known key found for this signature in database
GPG key ID: FE53784A69964062

View file

@ -158,7 +158,7 @@ async function updateGraph(): Promise<void> {
borderRadius: 3,
position: "start",
display: true,
content: `${content}`,
content: content,
},
});
}
@ -690,6 +690,9 @@ function updateTestType(randomQuote: Quote | null): void {
if (Config.funbox !== "none") {
testType += "<br>" + Config.funbox.replace(/_/g, " ").replace(/#/g, ", ");
}
if (Config.tapeMode !== "off") {
testType += "<br> tape mode " + Config.tapeMode;
}
if (Config.difficulty === "expert") {
testType += "<br>expert";
} else if (Config.difficulty === "master") {