mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Implement missing cheer emote tooltip (#2503)
This commit is contained in:
parent
a8c7e4a826
commit
d94d9e74dd
|
@ -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)
|
||||
|
|
|
@ -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 + "<br>Twitch Cheer Emote";
|
||||
cheerEmote.animatedEmote = std::make_shared<Emote>(
|
||||
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>(
|
||||
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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue