Hello, first of all this project is really quite wonderful, but I'm running into a little issue where my CombatIndicator seems to spawn behind the actual frame:
If you look closely, the indicator is "infront" of the background, but "behind" the health bar - when I remove the statusbar elements this is still the case, so somehow I am drawing my statusbars in front of the indicator. I've tried a few things:
Hiding the statusbar backgrounds
Giving the statusbar and statusbar.bg different "layers"
Different order of things
But haven't got to a nice solution. Anyway, here are the relevant codes:
if unit == "player" then
self.CombatIndicator = self:CreateTexture(nil, "OVERLAY")
self.CombatIndicator:SetPoint("CENTER", self, "TOP", 0, 0)
local tex = [[Interface\AddOns\bdCore\media\smooth]]
ns.utils.createStatusBar = function (parent)
local b = CreateFrame("StatusBar", nil, parent)
b.bg = b:CreateTexture(nil, "BACKGROUND")
Anyway - any help that you can give me, or hints in the right direction, would be most appreciated.