funkydude / BasicMinimap

BasicMinimap is a basic solution to a clean, square minimap for World of Warcraft.
16 stars 9 forks source link

Missions (Garrison/Covenant) button position gets overwritten by Blizzard in Shadowlands #47

Closed 0xjc closed 3 years ago

0xjc commented 4 years ago

The GarrisonLandingPageMinimapButton button (called "Missions" button in the config; in SL this is the Covenant Sanctum button) in 9.0 gets delayed SetPoint calls by Blizzard and reverts to a hardcoded anchor. As a result it doesn't appear in the correct place.

Offending FrameXML code:

Workaround is to post-hook GarrisonLandingPageMinimapButton_UpdateIcon to force it back:

hooksecurefunc("GarrisonLandingPageMinimapButton_UpdateIcon", function(self)
        self:ClearAllPoints()
        self:SetPoint(...)
end)