Moving portrait a little bit in attempt to prevent overlapping
Darthpred [09-09-16 - 14:04]
Moving portrait a little bit in attempt to prevent overlapping
diff --git a/ElvUI_SLE/modules/unitframes/unitframes.lua b/ElvUI_SLE/modules/unitframes/unitframes.lua
index 4681207..165e677 100644
--- a/ElvUI_SLE/modules/unitframes/unitframes.lua
+++ b/ElvUI_SLE/modules/unitframes/unitframes.lua
@@ -56,7 +56,8 @@ function SUF:ConfiguePortrait(frame, dontHide)
if not frame.Health.HigherPortrait then
frame.Health.HigherPortrait = CreateFrame("Frame", frame:GetName().."HigherPortrait", frame)
frame.Health.HigherPortrait:SetFrameLevel(frame.Health:GetFrameLevel() + 4)
- frame.Health.HigherPortrait:SetAllPoints(frame.Health)
+ frame.Health.HigherPortrait:SetPoint("TOPLEFT", frame.Health, "TOPLEFT")
+ frame.Health.HigherPortrait:SetPoint("BOTTOMRIGHT", frame.Health, "BOTTOMRIGHT", 0, 0.5)
end
portrait:ClearAllPoints()
if frame.db.portrait.style == '3D' then portrait:SetFrameLevel(frame.Health.HigherPortrait:GetFrameLevel()) end