Skip to content

Commit

Permalink
Fix accordeon item title; add todo comment
Browse files Browse the repository at this point in the history
  • Loading branch information
justvanrossum committed Nov 13, 2024
1 parent 0781812 commit a550ef8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/fontra/views/editor/panel-designspace-navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export default class DesignspaceNavigationPanel extends Panel {
},
{
id: "glyph-layers-accordion-item",
label: "Glyph layers", // XXXX TODO add translate strings
label: "Source layers", // XXXX TODO add translate strings
open: true,
content: html.div(
{
Expand Down Expand Up @@ -803,6 +803,7 @@ export default class DesignspaceNavigationPanel extends Panel {
async _updateEditingStatus() {
const selectedItem = this.sourcesList.getSelectedItem();
if (!selectedItem?.editing || selectedItem.interpolationStatus?.error) {
// TODO: take background layers into account
this.sourcesList.items.forEach((item) => {
item.editing = item === selectedItem;
});
Expand Down

0 comments on commit a550ef8

Please sign in to comment.