From 9789a32e5140f042efd9d3f88fe2aec5b9d3072e Mon Sep 17 00:00:00 2001 From: shagu Date: Sat, 26 Nov 2016 13:29:33 +0100 Subject: [PATCH] xpbar: fix parents --- modules/xpbar.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)