diff --git a/modules/xpbar.lua b/modules/xpbar.lua index 52e28428..c5f3d820 100644 --- a/modules/xpbar.lua +++ b/modules/xpbar.lua @@ -1,5 +1,5 @@ pfUI:RegisterModule("xpbar", function () - pfUI.xp = CreateFrame("Frame",nil, pfUI.bars.bottom) + pfUI.xp = CreateFrame("Frame",nil, UIParent) pfUI.xp:SetWidth(5) pfUI.xp:SetPoint("TOPLEFT",pfUI.chat.left,"TOPRIGHT", pfUI_config.appearance.border.default*2, 0) pfUI.xp:SetPoint("BOTTOMLEFT",pfUI.chat.left,"BOTTOMRIGHT", pfUI_config.appearance.border.default*2, 0) @@ -94,7 +94,7 @@ pfUI:RegisterModule("xpbar", function () pfUI.xp.restedbar:SetMinMaxValues(0, 100) pfUI.xp.restedbar:SetOrientation("VERTICAL") - pfUI.rep = CreateFrame("Frame",nil, pfUI.bars.bottom) + pfUI.rep = CreateFrame("Frame",nil, UIParent) pfUI.rep:SetWidth(5) pfUI.rep:SetPoint("TOPRIGHT",pfUI.chat.right,"TOPLEFT", -pfUI_config.appearance.border.default*2, 0) pfUI.rep:SetPoint("BOTTOMRIGHT",pfUI.chat.right,"BOTTOMLEFT",-pfUI_config.appearance.border.default*2, 0)