mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-07 06:00:00 +00:00
modules: make all modules aware of the new borders
This commit is contained in:
@@ -1,11 +1,7 @@
|
||||
pfUI:RegisterModule("pettarget", "vanilla:tbc", function ()
|
||||
-- do not go further on disabled UFs
|
||||
if C.unitframes.disable == "1" then return end
|
||||
|
||||
local default_border = pfUI_config.appearance.border.default
|
||||
if pfUI_config.appearance.border.unitframes ~= "-1" then
|
||||
default_border = pfUI_config.appearance.border.unitframes
|
||||
end
|
||||
local rawborder, default_border = GetBorderSize("unitframes")
|
||||
|
||||
pfUI.uf.pettarget = pfUI.uf:CreateUnitFrame("PetTarget", nil, C.unitframes.ptarget, .2)
|
||||
pfUI.uf.pettarget:UpdateFrameSize()
|
||||
|
||||
Reference in New Issue
Block a user