From 5cf9dab550540c639d176f49fc1b54c7e6df1e56 Mon Sep 17 00:00:00 2001 From: Caleb Fontenot Date: Sun, 30 Apr 2023 19:03:13 -0500 Subject: [PATCH] Let's try mozilla's fixedCharAt function --- commands/drawDesign.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/drawDesign.cjs b/commands/drawDesign.cjs index c511beb..c41b2de 100644 --- a/commands/drawDesign.cjs +++ b/commands/drawDesign.cjs @@ -220,7 +220,7 @@ function charIterate(input) { if (charIterateState < (input.length - 1)) { charIterateState++; if (surrogatePairs.exec(input.charCodeAt(charIterateState)) !== null) { - charIterateState++; + //charIterateState++; } } else { charIterateState = 0;