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"
|
||||
key={x}
|
||||
alt={emote.code}
|
||||
title={emote.code}
|
||||
src={`https://static-cdn.jtvnw.net/emoticons/v2/${emote.id}/default/dark/1.0`}
|
||||
/>);
|
||||
x += emote.endIndex - emote.startIndex - 1;
|
||||
|
@ -77,6 +78,7 @@ export function Message({ message, thirdPartyEmotes }: { message: LogMessage, th
|
|||
className="emote"
|
||||
key={x}
|
||||
alt={emote.code}
|
||||
title={emote.code}
|
||||
src={emote.urls.small}
|
||||
/>);
|
||||
emoteFound = true;
|
||||
|
@ -106,4 +108,4 @@ export function Message({ message, thirdPartyEmotes }: { message: LogMessage, th
|
|||
return <MessageContainer className="message">
|
||||
{renderMessagePrefix}{renderMessage}
|
||||
</MessageContainer>;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue