Skip to content

Commit

Permalink
Add assembly name hints for the synteny track selector menu items
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Sep 27, 2024
1 parent 57059aa commit 2f49ca0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const Header = observer(function ({
label: 'Synteny track selectors',
type: 'subMenu',
subMenu: views.slice(0, -1).map((_, idx) => ({
label: `Synteny track selector (row ${idx + 1}->${idx + 2})`,
label: `Row ${idx + 1}->${idx + 2} (${views[idx]!.assemblyNames.join(',')}->${views[idx + 1]!.assemblyNames.join(',')})`,
onClick: () => {
model.activateTrackSelector(idx)
},
Expand All @@ -47,7 +47,7 @@ const Header = observer(function ({
label: 'Row track selectors',
type: 'subMenu',
subMenu: views.map((view, idx) => ({
label: `Row ${idx + 1} track selector`,
label: `Row ${idx + 1} track selector (${view.assemblyNames.join(',')})`,
onClick: () => view.activateTrackSelector(),
})),
},
Expand Down

0 comments on commit 2f49ca0

Please sign in to comment.