impr(practice): shuffle words when practicing missed/slow words (grzebiel) (#5519)

* impr(practice): random shuffle words in all practice modes

* change self made shuffle into CustomText.setMode("shuffle")
This commit is contained in:
marcin grzebieluch 2024-06-25 10:20:51 +02:00 committed by GitHub
parent b6069a78ac
commit f123617c33
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -107,6 +107,7 @@ export function init(missed: boolean, slow: boolean): boolean {
CustomText.setLimitValue(
(sortableSlowWords.length + sortableMissedWords.length) * 5
);
CustomText.setMode("shuffle");
setCustomTextName("practise", undefined);