Skip to content

Commit

Permalink
Undo glyphNameChangedCallback
Browse files Browse the repository at this point in the history
  • Loading branch information
fatih-erikli committed Aug 29, 2023
1 parent e1f969f commit 069bcf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fontra/views/editor/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 069bcf6

Please sign in to comment.