xpbar: fix parents

This commit is contained in:
shagu
2016-11-26 13:29:33 +01:00
parent 77f14f74e1
commit 9789a32e51
+2 -2
View File
@@ -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)