From 0146dc9666cefd0daaefb1c67296c0eeca031bb1 Mon Sep 17 00:00:00 2001 From: Repooc Date: Sat, 16 Mar 2013 22:29:47 -0400 Subject: [PATCH] Fix for Curse Ticket: #15 --- ElvUI_SLE/modules/unitframes/units/player.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ElvUI_SLE/modules/unitframes/units/player.lua b/ElvUI_SLE/modules/unitframes/units/player.lua index 2d398c0..22e8548 100755 --- a/ElvUI_SLE/modules/unitframes/units/player.lua +++ b/ElvUI_SLE/modules/unitframes/units/player.lua @@ -99,6 +99,8 @@ function UF:Update_PlayerFrame(frame, db) if USE_POWERBAR_OFFSET then health:Point("TOPRIGHT", frame, "TOPRIGHT", -(BORDER+POWERBAR_OFFSET), DEPTH) + elseif USE_POWERBAR_OFFSET and E.db.unitframe.units.player.power.offset == 0 then + health:Point("TOPRIGHT", frame, "TOPRIGHT", -(BORDER+POWERBAR_OFFSET), DEPTH) else health:Point("TOPRIGHT", frame, "TOPRIGHT", -BORDER, DEPTH) end -- 1.7.9.5