custom settings for player and target

This commit is contained in:
Eric Mauser
2016-05-03 18:27:57 +02:00
parent 2fd3a08ea3
commit 1942b08762
3 changed files with 16 additions and 9 deletions
+3 -3
View File
@@ -11,8 +11,8 @@ pfUI.uf.target:SetScript("OnEvent", function()
pfUI.uf.target:Hide()
end
end)
pfUI.uf.target:SetWidth(pfUI.config.unitframes.width)
pfUI.uf.target:SetHeight(pfUI.config.unitframes.height+pfUI.config.unitframes.pheight)
pfUI.uf.target:SetWidth(pfUI.config.unitframes.target.width)
pfUI.uf.target:SetHeight(pfUI.config.unitframes.target.height+pfUI.config.unitframes.target.pheight)
pfUI.uf.target:SetPoint("BOTTOMLEFT", UIParent, "BOTTOM", 75, 125)
pfUI.uf.target:RegisterForClicks('LeftButtonUp', 'RightButtonUp')
@@ -150,7 +150,7 @@ pfUI.uf.target:SetScript("OnUpdate", function()
pfUI.uf.target.hp = CreateFrame("Frame",nil, pfUI.uf.target)
pfUI.uf.target.hp:SetBackdrop(pfUI.backdrop)
pfUI.uf.target.hp:SetHeight(pfUI.config.unitframes.height)
pfUI.uf.target.hp:SetHeight(pfUI.config.unitframes.target.height)
pfUI.uf.target.hp:SetPoint("TOPLEFT",pfUI.uf.target,"TOPLEFT")
pfUI.uf.target.hp:SetPoint("TOPRIGHT",pfUI.uf.target,"TOPRIGHT")