From 3c27d53eafca6b2bab98ffd60b473bc601e2f2b5 Mon Sep 17 00:00:00 2001 From: sehilyi Date: Mon, 17 Jun 2024 15:15:25 -0400 Subject: [PATCH] feat(core): remove tooltip information about the number of additional elements --- src/tracks/gosling-track/gosling-track.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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}
`; } }