Merge branch 'main' of https://git.csclub.uwaterloo.ca/www/cs-2022-class-profile
This commit is contained in:
commit
f3abc3882e
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue