Skip to content

Commit

Permalink
Enable source layers, menus
Browse files Browse the repository at this point in the history
  • Loading branch information
justvanrossum committed Dec 9, 2024
1 parent 0f4a641 commit 60f33be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/fontra/views/editor/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -1612,8 +1612,8 @@ export class EditorController {
{ 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" },
],
});

Expand Down
4 changes: 0 additions & 4 deletions src/fontra/views/editor/panel-designspace-navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -832,10 +832,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;
Expand Down

0 comments on commit 60f33be

Please sign in to comment.