From 6cb3a4f17c3deb724a3bf892d7a1eb21063c54e3 Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Sat, 25 May 2024 21:19:29 +0200 Subject: [PATCH] Use unfiltered fontAxes: we also need hidden axes here --- src/fontra/views/editor/panel-designspace-navigation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fontra/views/editor/panel-designspace-navigation.js b/src/fontra/views/editor/panel-designspace-navigation.js index 457c4a0df..c1f59c8b3 100644 --- a/src/fontra/views/editor/panel-designspace-navigation.js +++ b/src/fontra/views/editor/panel-designspace-navigation.js @@ -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,