Skip to content

Commit

Permalink
Use unfiltered fontAxes: we also need hidden axes here
Browse files Browse the repository at this point in the history
  • Loading branch information
justvanrossum committed May 25, 2024
1 parent 2c41623 commit 6cb3a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fontra/views/editor/panel-designspace-navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -993,7 +993,7 @@ export default class DesignspaceNavigationPanel extends Panel {
const glyphAxisNames = glyph.axes.map((axis) => axis.name);
const fontAxes = mapAxesFromUserSpaceToSourceSpace(
// Don't include font axes that also exist as glyph axes
this.fontAxes.filter((axis) => !glyphAxisNames.includes(axis.name))
this.fontController.fontAxes.filter((axis) => !glyphAxisNames.includes(axis.name))
);
return [
...fontAxes,
Expand Down

0 comments on commit 6cb3a4f

Please sign in to comment.