With the introduction of the whole 'hold modifier to see original tooltip' feature, it was found through extensive testing and hours of hard work that ElvUI tooltips don't use the existing GameTooltip_SetDefaultAnchor function and instead use the version inside the ElvUI tooltip module to set their anchor points.
With this PR, we're exporting TRP3_API.ui.tooltip.setTooltipDefaultAnchor as a global function, then allowing the ElvUI tooltip skinning module to override it if enabled, which then uses the correct ElvUI function to place the tooltip in the correct spot correctly.
With the introduction of the whole 'hold modifier to see original tooltip' feature, it was found through extensive testing and hours of hard work that ElvUI tooltips don't use the existing
GameTooltip_SetDefaultAnchor
function and instead use the version inside the ElvUI tooltip module to set their anchor points.With this PR, we're exporting
TRP3_API.ui.tooltip.setTooltipDefaultAnchor
as a global function, then allowing the ElvUI tooltip skinning module to override it if enabled, which then uses the correct ElvUI function to place the tooltip in the correct spot correctly.