Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Handle hiding/showing MBF on mouseover.
- ]]
- MBF_mouseover_onUpdate = false
- MinimapButtonFrame:HookScript("onEnter", function(self)
- MinimapButtonFrame:SetAlpha(1)
- MBF_mouseover_onUpdate = true
- end)
- MinimapButtonFrame:HookScript("onUpdate", function(self)
- if MBF_mouseover_onUpdate == true then
- if MinimapButtonFrame:IsMouseOver() == nil then
- MinimapButtonFrame:SetAlpha(0)
- MBF_mouseover_onUpdate = false
- end
- end
- end)
- MinimapButtonFrame:SetAlpha(0)
Advertisement
Add Comment
Please, Sign In to add comment