Skip to content

Commit

Permalink
Fix LocationPreview glyph selection
Browse files Browse the repository at this point in the history
dont update when the selection comes from itself
  • Loading branch information
typemytype committed Apr 30, 2024
1 parent f07c18c commit ad7bfaa
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,8 @@ def designspaceEditorSourcesDidChangeSelection(self, notification):
self.updatePreview()

def roboFontDidSwitchCurrentGlyph(self, notification):
self.updatePreview()
if not self.w.getNSWindow().isKeyWindow():
self.updatePreview()


if __name__ == '__main__':
Expand Down

0 comments on commit ad7bfaa

Please sign in to comment.