From fa38e999075ca22ebc45a0a155d78e6d4db9fd8f Mon Sep 17 00:00:00 2001 From: Lutz Date: Fri, 5 Apr 2024 09:31:56 -0700 Subject: [PATCH] Show ASCII character in editor It's useful to see the ASCII character that you're editing --- resources/glyphEditor.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/glyphEditor.html b/resources/glyphEditor.html index 31fbd90..d84704f 100644 --- a/resources/glyphEditor.html +++ b/resources/glyphEditor.html @@ -170,7 +170,7 @@ // Let's use the DOM to store everything for now static updateCaption(element, code) { - element.textContent = `Char #${code}`; + element.textContent = `Char #${code} [`+String.fromCharCode(code)+']'; } // Add a pixel matrix to draw a new character