Better visibility of emotes name
This change allows the name of the emote to be visible when hovering over it
This commit is contained in:
parent
0072d121f5
commit
2bc0cdffcf
1 changed files with 3 additions and 1 deletions
|
@ -56,6 +56,7 @@ export function Message({ message, thirdPartyEmotes }: { message: LogMessage, th
|
||||||
className="emote"
|
className="emote"
|
||||||
key={x}
|
key={x}
|
||||||
alt={emote.code}
|
alt={emote.code}
|
||||||
|
title={emote.code}
|
||||||
src={`https://static-cdn.jtvnw.net/emoticons/v2/${emote.id}/default/dark/1.0`}
|
src={`https://static-cdn.jtvnw.net/emoticons/v2/${emote.id}/default/dark/1.0`}
|
||||||
/>);
|
/>);
|
||||||
x += emote.endIndex - emote.startIndex - 1;
|
x += emote.endIndex - emote.startIndex - 1;
|
||||||
|
@ -77,6 +78,7 @@ export function Message({ message, thirdPartyEmotes }: { message: LogMessage, th
|
||||||
className="emote"
|
className="emote"
|
||||||
key={x}
|
key={x}
|
||||||
alt={emote.code}
|
alt={emote.code}
|
||||||
|
title={emote.code}
|
||||||
src={emote.urls.small}
|
src={emote.urls.small}
|
||||||
/>);
|
/>);
|
||||||
emoteFound = true;
|
emoteFound = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue