add zero-width space
This commit is contained in:
parent
24ead0eb78
commit
a9aa1fcb99
@ -192,14 +192,14 @@ function design4(input) {
|
||||
|
||||
if (dist > radius - 1 && dist < radius + 1) { //&& dist > radius - 1
|
||||
lineHasInput = true;
|
||||
outputLine += "·";
|
||||
outputLine += "·"; //zero-width space
|
||||
} else {
|
||||
outputLine += " ";
|
||||
}
|
||||
}
|
||||
} else {
|
||||
lineHasInput = true;
|
||||
outputLine += "·" + space + input + space + spaceOffset + "·";
|
||||
outputLine += "·" + space + input + space + spaceOffset + "·"; //zero-width space
|
||||
}
|
||||
|
||||
//console.log(i, j, outputLine);
|
||||
@ -260,7 +260,7 @@ function design5(input) {
|
||||
|
||||
if (dist > radius - 1 && dist < radius + 1) { //&& dist > radius - 1
|
||||
lineHasInput = true;
|
||||
outputLine += input.charAt(charIterate(input));
|
||||
outputLine += input.charAt(""+ charIterate(input)); //zero-width space
|
||||
} else {
|
||||
outputLine += " ";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user