-
-
Notifications
You must be signed in to change notification settings - Fork 458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: improve appearance of Twitch emotes in popup #5632
Conversation
// some bit emote-sets have an id, but we want to combine them into a | ||
// single set | ||
if (isBits) | ||
{ | ||
return emote.setID; | ||
return TWITCH_BIT_EMOTE_SET_PREFIX % emote.ownerID; | ||
} | ||
|
||
if (isSub) | ||
{ | ||
return TWITCH_SUB_EMOTE_SET_PREFIX % emote.ownerID; | ||
} | ||
// isBits | ||
return TWITCH_BIT_EMOTE_SET_PREFIX % emote.ownerID; | ||
// isSub | ||
return TWITCH_SUB_EMOTE_SET_PREFIX % emote.ownerID; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just relaized I could make this more readable by checking bits/subs first, but let's see if this works at all
@digitizeddave could you try the appimage from this PR (https://github.com/Chatterino/chatterino2/actions/runs/11217307145?pr=5632, at the bottom)? |
Yes, that is organized much better! It's alphabetized and the bits are next to their respective channels. |
Fixes #5631 (hopefully)