Skip to content

Commit

Permalink
Fix alignments customization
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Aug 31, 2024
1 parent 0670947 commit ae84321
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {
SimpleFeature,
SimpleFeatureSerialized,
Feature,
getContainingTrack,
} from '@jbrowse/core/util'

import {
Expand Down Expand Up @@ -202,7 +203,11 @@ export function SharedLinearPileupDisplayMixin(
const featureWidget = session.addWidget(
'AlignmentsFeatureWidget',
'alignmentFeature',
{ featureData: feature.toJSON(), view: getContainingView(self) },
{
featureData: feature.toJSON(),
view: getContainingView(self),
track: getContainingTrack(self),
},
)
session.showWidget(featureWidget)
}
Expand Down

0 comments on commit ae84321

Please sign in to comment.