diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d67ae9d..2e1443df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -78,6 +78,7 @@ - Bugfix: Fix anonymous users being pinged by "username" justinfan64537 (#2156, #2352) - Bugfix: Fixed hidden tooltips when always on top is active (#2384) - Bugfix: Fix CLI arguments (`--help`, `--version`, `--channels`) not being respected (#2368, #2190) +- Bugfix: Fix Twitch cheer emotes not displaying tooltips when hovered (#2434) - Dev: Updated minimum required Qt framework version to 5.12. (#2210) - Dev: Migrated `Kraken::getUser` to Helix (#2260) - Dev: Migrated `TwitchAccount::(un)followUser` from Kraken to Helix and moved it to `Helix::(un)followUser`. (#2306) diff --git a/src/providers/twitch/TwitchChannel.cpp b/src/providers/twitch/TwitchChannel.cpp index deeb71da..e51512a5 100644 --- a/src/providers/twitch/TwitchChannel.cpp +++ b/src/providers/twitch/TwitchChannel.cpp @@ -909,6 +909,9 @@ void TwitchChannel::refreshCheerEmotes() // We will continue to do so for now since we haven't had to // solve that anywhere else + // Combine the prefix (e.g. BibleThump) with the tier (1, 100 etc.) + auto emoteTooltip = + set.prefix + tier.id + "
Twitch Cheer Emote"; cheerEmote.animatedEmote = std::make_shared( Emote{EmoteName{"cheer emote"}, ImageSet{ @@ -916,7 +919,7 @@ void TwitchChannel::refreshCheerEmotes() tier.images["dark"]["animated"]["2"], tier.images["dark"]["animated"]["4"], }, - Tooltip{}, Url{}}); + Tooltip{emoteTooltip}, Url{}}); cheerEmote.staticEmote = std::make_shared( Emote{EmoteName{"cheer emote"}, ImageSet{ @@ -924,7 +927,7 @@ void TwitchChannel::refreshCheerEmotes() tier.images["dark"]["static"]["2"], tier.images["dark"]["static"]["4"], }, - Tooltip{}, Url{}}); + Tooltip{emoteTooltip}, Url{}}); cheerEmoteSet.cheerEmotes.emplace_back(cheerEmote); }