GoldpawsStuff / AzeriteUI5

Custom user interface suite for World of Warcraft. Design and code by Lars Norberg and Daniel Troconis.
https://www.patreon.com/GoldpawsStuff
Other
22 stars 7 forks source link

Components: Adds ping system support to target portrait #91

Closed PatTheMav closed 1 month ago

PatTheMav commented 2 months ago

The target portrait is a large area of the target unit frame that might be intuitively used by players to ping their target.

While oUF adds this by itself to the actual unit frame, the overlay frame added by AzeriteUI will not inherit the functionality.

This change adds the PingableTypeMixin to the overlay on retail WoW, thus making it compatible with the ping system (the type and context of the ping is automatically deducted from the GUID of the unitframe's unit variable.