From 7d53e9eba3ab63c85ce1b9665a0505fb2f18a229 Mon Sep 17 00:00:00 2001 From: Miodec Date: Sun, 22 Dec 2024 00:57:58 +0100 Subject: impr(typing): add ʻ to the list of interchangable 'quotelike' characters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit this means it can be typed correctly with the usual ' --- frontend/src/ts/controllers/input-controller.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/ts/controllers/input-controller.ts b/frontend/src/ts/controllers/input-controller.ts index dcb263ca9..50a7c8bc4 100644 --- a/frontend/src/ts/controllers/input-controller.ts +++ b/frontend/src/ts/controllers/input-controller.ts @@ -425,12 +425,14 @@ function isCharCorrect(char: string, charIndex: number): boolean { char === "‘" || char === "'" || char === "ʼ" || - char === "׳") && + char === "׳" || + char === "ʻ") && (originalChar === "’" || originalChar === "‘" || originalChar === "'" || originalChar === "ʼ" || - originalChar === "׳") + originalChar === "׳" || + originalChar === "ʻ") ) { return true; } -- cgit v1.2.3