From 7c415cbe6bc0605f73ffb125dc2d59d94e1378e9 Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Mon, 9 Dec 2024 13:32:08 +0100 Subject: [PATCH] Enable source layers, menus --- src/fontra/views/editor/editor.js | 4 ++-- src/fontra/views/editor/panel-designspace-navigation.js | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/fontra/views/editor/editor.js b/src/fontra/views/editor/editor.js index 5a42ec058..eba608d3d 100644 --- a/src/fontra/views/editor/editor.js +++ b/src/fontra/views/editor/editor.js @@ -1397,8 +1397,8 @@ export class EditorController extends ViewController { { actionIdentifier: "action.select-next-glyph" }, { actionIdentifier: "action.select-previous-source" }, { actionIdentifier: "action.select-next-source" }, - // { actionIdentifier: "action.select-previous-source-layer" }, - // { actionIdentifier: "action.select-next-source-layer" }, + { actionIdentifier: "action.select-previous-source-layer" }, + { actionIdentifier: "action.select-next-source-layer" }, ], }); diff --git a/src/fontra/views/editor/panel-designspace-navigation.js b/src/fontra/views/editor/panel-designspace-navigation.js index 4c76252ba..b31988437 100644 --- a/src/fontra/views/editor/panel-designspace-navigation.js +++ b/src/fontra/views/editor/panel-designspace-navigation.js @@ -830,10 +830,6 @@ export default class DesignspaceNavigationPanel extends Panel { } async _updateSourceLayersList() { - // TODO: the background layers feature is not yet functional, disable for now - this.glyphLayersAccordionItem.hidden = true; - return; - const sourceIndex = this.sceneModel.sceneSettings.selectedSourceIndex; const haveLayers = this.sceneModel.selectedGlyph?.isEditing && sourceIndex != undefined;