diff --git a/src/tracks/gosling-track/gosling-track.ts b/src/tracks/gosling-track/gosling-track.ts index aa361623..a008dec2 100644 --- a/src/tracks/gosling-track/gosling-track.ts +++ b/src/tracks/gosling-track/gosling-track.ts @@ -1197,7 +1197,8 @@ const factory: PluginTrackFactory = (HGC, context, op this.pMouseHover.clear(); } /** - * From all tiles and overlaid tracks, collect element(s) that are withing a mouse position. + * From all tiles and overlaid tracks, collect element(s) that are within a mouse position. + * In the array, the first element is the element that is directly within the mouse position. */ #getElementsWithinMouse(mouseX: number, mouseY: number) { const models = this.visibleAndFetchedGoslingModels(); @@ -1460,12 +1461,6 @@ const factory: PluginTrackFactory = (HGC, context, op .join(''); content = `${content}
`; - if (capturedElements.length > 1) { - content += - `
` + - `${capturedElements.length - 1} Additional Selections...` + - '
'; - } return `
${content}
`; } }