diff --git a/modules/xpbar.lua b/modules/xpbar.lua index 765f12a3..fec79bbb 100644 --- a/modules/xpbar.lua +++ b/modules/xpbar.lua @@ -37,6 +37,7 @@ pfUI:RegisterModule("xpbar", "vanilla:tbc", function () b:SetFrameStrata("BACKGROUND") AlignToPosition(b, _G[anchor], position, default_border*3) + UpdateMovable(b, true) CreateBackdrop(b) CreateBackdropShadow(b) @@ -81,6 +82,7 @@ pfUI:RegisterModule("xpbar", "vanilla:tbc", function () b:SetScript("OnEvent", function() -- realign when entering world to ensure all frames got loaded AlignToPosition(b, _G[anchor], position, default_border*3) + UpdateMovable(b, true) -- set either experience, reputation or flex-rep handler local mode = ( t == "XP" and UnitLevel("player") < MAX_LEVEL ) and "XP" or t == "REP" and "REP" or "FLEX"