From 069bcf6d1c7f5be39a1bc2139abcc57c3bdfcd48 Mon Sep 17 00:00:00 2001 From: Fatih Erikli Date: Tue, 29 Aug 2023 22:46:44 +0300 Subject: [PATCH] Undo glyphNameChangedCallback --- src/fontra/views/editor/editor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fontra/views/editor/editor.js b/src/fontra/views/editor/editor.js index d3043ec55..29e974a40 100644 --- a/src/fontra/views/editor/editor.js +++ b/src/fontra/views/editor/editor.js @@ -470,8 +470,8 @@ export class EditorController { if (!glyphName) { return; } - const codePoint = this.fontController.codePointForGlyph(); - const glyphInfo = { glyphName }; + const codePoint = this.fontController.codePointForGlyph(glyphName); + const glyphInfo = { glyphName: glyphName }; if (codePoint !== undefined) { glyphInfo["character"] = getCharFromUnicode(codePoint); }