diff --git a/src/compiler/bounding-box.ts b/src/compiler/bounding-box.ts index 8ae3ca3dd..2974af36c 100644 --- a/src/compiler/bounding-box.ts +++ b/src/compiler/bounding-box.ts @@ -385,7 +385,7 @@ export function getNumOfYAxes(tracks: Track[]): number { const getTextTrack = (size: Size, title?: string, subtitle?: string) => { return JSON.parse( JSON.stringify({ - mark: 'header', + mark: '_header', width: size.width, height: size.height, title, diff --git a/src/compiler/gosling-to-higlass.ts b/src/compiler/gosling-to-higlass.ts index 6d5296f46..77577b346 100644 --- a/src/compiler/gosling-to-higlass.ts +++ b/src/compiler/gosling-to-higlass.ts @@ -282,7 +282,7 @@ export function goslingToHiGlass( }); hgModel.validateSpec(true); - } else if (firstResolvedSpec.mark === 'header') { + } else if (firstResolvedSpec.mark === '_header') { // `text` tracks are used to show title and subtitle of the views hgModel.addDefaultView(`${trackId}-title`).setLayout(layout); if (typeof firstResolvedSpec.title === 'string') {