WoWInterface - View Single Post - Tooltip is constantly reseting the backdrop
View Single Post
07-25-18, 11:37 AM   #3
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Jun 2016
Posts: 256
Originally Posted by zork View Post
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:
  1. 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.)

Last edited by Ammako : 07-25-18 at 11:44 AM.
  Reply With Quote