Added image links to the badge context menu (#2667)
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
## Unversioned
|
## Unversioned
|
||||||
|
|
||||||
|
- Minor: Added image links to the badge context menu. (#2667)
|
||||||
- Minor: Added a setting to hide Twitch Predictions badges. (#2668)
|
- Minor: Added a setting to hide Twitch Predictions badges. (#2668)
|
||||||
- Bugfix: Added missing Copy/Open link context menu entries to emotes in Emote Picker. (#2670)
|
- Bugfix: Added missing Copy/Open link context menu entries to emotes in Emote Picker. (#2670)
|
||||||
- Bugfix: Fixed visual glitch with smooth scrolling. (#2084)
|
- Bugfix: Fixed visual glitch with smooth scrolling. (#2084)
|
||||||
|
|||||||
@@ -1827,6 +1827,13 @@ void ChannelView::addContextMenuItems(
|
|||||||
auto menu = new QMenu;
|
auto menu = new QMenu;
|
||||||
previousMenu = menu;
|
previousMenu = menu;
|
||||||
|
|
||||||
|
if (creatorFlags.hasAny({MessageElementFlag::Badges}))
|
||||||
|
{
|
||||||
|
auto badgeElement = dynamic_cast<const BadgeElement *>(&creator);
|
||||||
|
addEmoteContextMenuItems(*badgeElement->getEmote(), creatorFlags,
|
||||||
|
*menu);
|
||||||
|
}
|
||||||
|
|
||||||
// Emote actions
|
// Emote actions
|
||||||
if (creatorFlags.hasAny(
|
if (creatorFlags.hasAny(
|
||||||
{MessageElementFlag::EmoteImages, MessageElementFlag::EmojiImage}))
|
{MessageElementFlag::EmoteImages, MessageElementFlag::EmojiImage}))
|
||||||
|
|||||||
Reference in New Issue
Block a user