Wondering if someone might know why when i first log in the first thing i mouse over has a white out background at first? I am trying to hook my own background and boarder. Some methods the background whites out at different times or all the time.
this is the method im trying right now and it only whites out on first mouse over. id like it to never whiteout
the perfectionist in me...
this method also allows for other tooltip addons to take over if they are installed or so it should anyhow... or at lest TipTac has no trouble over riding my code.
lua Code:
-------------------
-- GUI TT Anchor
--------------------
GUITTAnchor = CreateFrame("Frame", "GUITTAnchor", UIParent, "SecureHandlerStateTemplate");
GUITTAnchor:SetPoint("LEFT", UIParent, "LEFT", 35, -130)
GameTooltip:SetBackdrop{
bgFile = "Interface\\AddOns\\!GrimUI\\Art\\GrimMainbg",
edgeFile = "Interface\\AddOns\\!GrimUI\\Art\\HordeBoarder1", tile = false, edgeSize = 15,
insets = { left = 0, right = 0, top = 0, bottom = 0 }
}
hooksecurefunc("GameTooltip_OnLoad", function (self)
GameTooltip:SetBackdrop{
bgFile = "Interface\\AddOns\\!GrimUI\\Art\\GrimMainbg",
edgeFile = "Interface\\AddOns\\!GrimUI\\Art\\HordeBoarder1", tile = false, edgeSize = 15,
insets = { left = 0, right = 0, top = 0, bottom = 0 }
}
end)
hooksecurefunc("GameTooltip_SetDefaultAnchor", function (tooltip, parent)
local tooltips = {GameTooltip, ItemRefTooltip, ShoppingTooltip1, ShoppingTooltip2, ShoppingTooltip3, WorldMapTooltip}
tooltip:SetOwner(parent,"ANCHOR_NONE")
tooltip:SetPoint("LEFT",GUITTAnchor,"LEFT", 0, 0)
tooltip:SetPoint("BOTTOM",GUITTAnchor,"BOTTOM", 0, 0)
end)