mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-22 15:46:56 +00:00
c259e9b59d
Please read the Readme for more details.
11 lines
490 B
Lua
11 lines
490 B
Lua
pfUI:RegisterModule("pettarget", "vanilla:tbc", function ()
|
|
-- do not go further on disabled UFs
|
|
if C.unitframes.disable == "1" then return end
|
|
local rawborder, default_border = GetBorderSize("unitframes")
|
|
|
|
pfUI.uf.pettarget = pfUI.uf:CreateUnitFrame("PetTarget", nil, C.unitframes.ptarget, .2)
|
|
pfUI.uf.pettarget:UpdateFrameSize()
|
|
pfUI.uf.pettarget:SetPoint("TOP", pfUI.uf.pet or pfUI.uf.target or UIParent, "BOTTOM", 0, -default_border)
|
|
UpdateMovable(pfUI.uf.pettarget)
|
|
end)
|