Originally Posted by zork
Btw sometimes I am getting blueish tinted tooltip backgrounds. It mostly happens when hovering over objects like a portal. When you hover over a unit thereafter the blueish tint stays since I am only reseting the backdrop OnShow.
|
That's a Blizzard bug, that happens if you don't let the tooltip fadeout completely before hovering over something else.
You can probably do something like this to prevent it from happening:
lua Code:
GameTooltip:HookScript("OnTooltipSetUnit", function() GameTooltip:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b, 1) end)
(Or with your own background colors, of course.)