Closed MotherGinger closed 2 years ago
does not have a background color for me.
For now I fixed it locally like this:
-- Make the frame match the tooltip
local function InitializeFrame(frame)
--[[ from https://www.wowinterface.com/forums/showthread.php?t=58109]]
frame:SetBackdrop({
bgFile = "Interface\\DialogFrame\\UI-DialogBox-Background",
edgeFile = "Interface\\DialogFrame\\UI-DialogBox-Border",
tile = true,
tileSize = 32,
edgeSize = 32,
insets = {left = 12, right = 12, top = 12, bottom = 11},
})
frame:SetScale(GameTooltip:GetScale())
end
does not look great, but it's usable
does not have a background color for me.
Good catch, I was wrong we will need to still respect the NineSlice panel after all, I have pushed an update that fixes this
Changes look good and nice documentation, thanks @MotherGinger
Included in this PR
NineSlice
subframe for backdrop settings onGameTooltip
<Backdrop>
templates and convert them to the latest APIGetBackdrop
isn't actually defined on theNineSlice
. If we can determine why we might be able to improve this to avoid any chances of ignoring reskinned tooltips (for instance from AddonSkins).Results: