From 3b9f90fb7f8482561a9ce3c64ddf7436e9952ff3 Mon Sep 17 00:00:00 2001 From: Miodec Date: Sat, 1 Jan 2022 16:06:01 +0100 Subject: [PATCH] strict space no longer affects zen mode. closes #2236 --- src/js/input-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/input-controller.js b/src/js/input-controller.js index 1d53c3e96..605e79a50 100644 --- a/src/js/input-controller.js +++ b/src/js/input-controller.js @@ -372,7 +372,7 @@ function handleChar(char, charIndex) { //otherwise dont do anything if ( Config.difficulty !== "normal" || - Config.strictSpace || + (Config.strictSpace && Config.mode !== "zen") || Config.stopOnError === "word" ) { if (dontInsertSpace) {