Merge branch 'main' into line-graph-multiple-color
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Beihao Zhou 2022-11-30 21:00:19 -05:00
commit b3db878681
1 changed files with 4 additions and 1 deletions

View File

@ -216,7 +216,10 @@ const WordCloudWords: React.FC<WordCloudWordsProps> = ({
if (word.text) {
showTooltip(
{ text: word.text, value: data[index].value },
{
text: word.text,
value: (cloudWords[index] as WordData).value,
},
eventSvgCoords.x -
word.text.length * TOOLTIP_HORIZONTAL_SHIFT_SCALER +
alignmentOffset,