mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-04 12:40:02 +00:00
pettarget: alternate position if pet is missing
This commit is contained in:
@@ -21,6 +21,6 @@ pfUI:RegisterModule("pettarget", function ()
|
||||
|
||||
pfUI.uf.pettarget = pfUI.uf:CreateUnitFrame("PetTarget", nil, C.unitframes.ptarget, .2)
|
||||
pfUI.uf.pettarget:UpdateFrameSize()
|
||||
pfUI.uf.pettarget:SetPoint("TOP", pfUI.uf.pet, "BOTTOM", 0, -default_border)
|
||||
pfUI.uf.pettarget:SetPoint("TOP", pfUI.uf.pet or pfUI.uf.target or UIParent, "BOTTOM", 0, -default_border)
|
||||
UpdateMovable(pfUI.uf.pettarget)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user