mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-10 07:36:09 +08:00
not allowing rtl languages to access tape mode
This commit is contained in:
parent
287234f430
commit
89b9b9a75e
1 changed files with 5 additions and 0 deletions
|
@ -862,6 +862,11 @@ export async function init(): Promise<void> {
|
|||
}
|
||||
}
|
||||
|
||||
if (Config.tapeMode !== "off" && !language.leftToRight) {
|
||||
Notifications.add("This language does not support tape mode.", 0);
|
||||
UpdateConfig.setTapeMode("off");
|
||||
}
|
||||
|
||||
if (Config.lazyMode === true && language.noLazyMode) {
|
||||
rememberLazyMode = true;
|
||||
Notifications.add("This language does not support lazy mode.", 0);
|
||||
|
|
Loading…
Add table
Reference in a new issue