Merge pull request #179 from ZonianMidian/patch-3
Better visibility of emotes name
This commit is contained in:
commit
8d91e02e51
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;
|
||||||
|
@ -106,4 +108,4 @@ export function Message({ message, thirdPartyEmotes }: { message: LogMessage, th
|
||||||
return <MessageContainer className="message">
|
return <MessageContainer className="message">
|
||||||
{renderMessagePrefix}{renderMessage}
|
{renderMessagePrefix}{renderMessage}
|
||||||
</MessageContainer>;
|
</MessageContainer>;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue