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 12, 2024
1 parent 4310e10 commit dadf634
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 @@ -163,7 +163,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 @@ -788,6 +788,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 dadf634

Please sign in to comment.