local frame = CreateFrame("Frame", "OmaAzeriteBar", UIParent);
frame:SetScript("OnEvent", function()
- frame:SetPoint("BOTTOM", UIParent, "BOTTOM", 0, 8);
+ frame:SetPoint("BOTTOM");
frame:SetWidth(width);
frame:SetHeight(8);
frame.base = frame:CreateTexture(nil, "BACKGROUND");