diff --git a/commands/drawDesign.cjs b/commands/drawDesign.cjs index d8d7417..36b1db0 100644 --- a/commands/drawDesign.cjs +++ b/commands/drawDesign.cjs @@ -262,14 +262,14 @@ function design5(input) { if (dist > radius - 1 && dist < radius + 1) { //&& dist > radius - 1 lineHasInput = true; - outputLine += "​" + input.fixedCharAt(charIterate(input)); //zero-width space + outputLine += "​" + fixedCharAt(input, charIterate(input)); //zero-width space } else { outputLine += " "; } } } else { lineHasInput = true; - outputLine += input.fixedCharAt(charIterate(input)) + space + input + space + spaceOffset + input.fixedCharAt(charIterate(input)); + outputLine += fixedCharAt(input, charIterate(input)) + space + input + space + spaceOffset + fixedCharAt(input, charIterate(input)); } //console.log(i, j, outputLine);