Skip to content

Commit

Permalink
Also add isSelected flag
Browse files Browse the repository at this point in the history
  • Loading branch information
justvanrossum committed May 8, 2024
1 parent ad8ac39 commit 02d7e59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/fontra/views/editor/scene-model.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ export class SceneModel {
glyphName: glyphInfo.glyphName,
character: glyphInfo.character,
isUndefined: isUndefined,
isSelected: isSelectedGlyph,
isEditing: !!(isSelectedGlyph && selectedGlyphIsEditing),
});
x += glyphInstance.xAdvance;
Expand Down

0 comments on commit 02d7e59

Please sign in to comment.