I currently use this to hide the various glows on the PlayerFrame:
function PlayerFrame_UpdateStatus() PlayerRestGlow:SetAlpha(0) PlayerAttackGlow:SetAlpha(0) PlayerStatusGlow:SetAlpha(0) end
It works fine when I log in, but stops working after a /reload.
How do I make it work all the time?
// 2
I use this code to hide my tracking button on the minimap and make it available through right-clicking the minimap:
MiniMapTracking:Hide()
local function OnMouseDown(RightButton)
ToggleDropDownMenu(1,nil,MiniMapTrackingDropDown,"cursor")
end
if Minimap:GetScript("OnMouseDown") then
Minimap:HookScript("OnMouseDown",OnMouseDown)
else
Minimap:SetScript("OnMouseDown",OnMouseDown)
end
end
The only problem is that I ping the minimap everytime I right-click it as well.
How do I disable the right-click ping?


















