Skip to content

Commit

Permalink
- implemented workaround for bug in RaiderIO regarding anchor positio…
Browse files Browse the repository at this point in the history
  • Loading branch information
frozn committed Aug 10, 2022
1 parent 0b5ef6c commit ecb7630
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions TipTac/ttCore.lua
Original file line number Diff line number Diff line change
Expand Up @@ -960,6 +960,13 @@ local function GetAnchorPosition(tooltip)
return "normal", "BOTTOMRIGHT";
end

-- workaround for bug in RaiderIO: https://github.com/RaiderIO/raiderio-addon/issues/203
if (var == "anchorFrameTip") and (ttAnchorType == "mouse") and (IsAddOnLoaded("RaiderIO")) and IsAddOnLoaded("Blizzard_Communities") and (IsInFrameChain(tooltip:GetOwner(), {
CommunitiesFrame.MemberList.ListScrollFrame
}, 3)) then
return "normal", "BOTTOMRIGHT";
end

-- override GTT anchor for (Guild & Community) ChatFrame
if (cfg.enableAnchorOverrideCF) and (IsInFrameChain(tooltip:GetOwner(), {
"ChatFrame(%d+)",
Expand Down

0 comments on commit ecb7630

Please sign in to comment.