From 5f13450abe263e0a21bfcce8d563170f0f352d1c Mon Sep 17 00:00:00 2001 From: Darthpred Date: Sat, 1 Dec 2012 21:56:33 +0400 Subject: [PATCH] seems that this part is no longer needed --- ElvUI_SLE/modules/unitframes/units/player.lua | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/ElvUI_SLE/modules/unitframes/units/player.lua b/ElvUI_SLE/modules/unitframes/units/player.lua index 52ce472..34abef2 100644 --- a/ElvUI_SLE/modules/unitframes/units/player.lua +++ b/ElvUI_SLE/modules/unitframes/units/player.lua @@ -84,28 +84,6 @@ function UF:Update_PlayerFrame(frame, db) POWERBAR_WIDTH = POWERBAR_WIDTH / 2 end end - - health:ClearAllPoints() - health:Point("TOPRIGHT", frame, "TOPRIGHT", -BORDER, -BORDER) - if USE_POWERBAR_OFFSET then - health:Point("TOPRIGHT", frame, "TOPRIGHT", -(BORDER+POWERBAR_OFFSET), -BORDER) - health:Point("BOTTOMLEFT", frame, "BOTTOMLEFT", BORDER, BORDER+POWERBAR_OFFSET) - elseif USE_MINI_POWERBAR then - health:Point("BOTTOMLEFT", frame, "BOTTOMLEFT", BORDER, BORDER + (POWERBAR_HEIGHT/2)) - else - health:Point("BOTTOMLEFT", frame, "BOTTOMLEFT", BORDER, BORDER + POWERBAR_HEIGHT) - end - - health.bg:ClearAllPoints() - if not USE_PORTRAIT_OVERLAY then - health:Point("TOPLEFT", PORTRAIT_WIDTH+BORDER, -BORDER) - health.bg:SetParent(health) - health.bg:SetAllPoints() - else - health.bg:Point('BOTTOMLEFT', health:GetStatusBarTexture(), 'BOTTOMRIGHT') - health.bg:Point('TOPRIGHT', health) - health.bg:SetParent(frame.Portrait.overlay) - end --End of needed copy. --Classbar positioning -- 1.7.9.5