mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-11 08:00:01 +00:00
modules: make all modules aware of the new borders
This commit is contained in:
+2
-10
@@ -8,11 +8,7 @@ pfUI:RegisterModule("uf_tukui", "vanilla:tbc", function ()
|
||||
hookUpdateConfigPlayer(pfUI.uf.player)
|
||||
|
||||
-- load configs
|
||||
local default_border = C.appearance.border.default
|
||||
if C.appearance.border.unitframes ~= "-1" then
|
||||
default_border = C.appearance.border.unitframes
|
||||
end
|
||||
|
||||
local rawborder, default_border = GetBorderSize("unitframes")
|
||||
local pspacing = C.unitframes.player.pspace
|
||||
local tspacing = C.unitframes.target.pspace
|
||||
|
||||
@@ -50,11 +46,7 @@ pfUI:RegisterModule("uf_tukui", "vanilla:tbc", function ()
|
||||
hookUpdateConfigTarget(pfUI.uf.target)
|
||||
|
||||
-- load configs
|
||||
local default_border = C.appearance.border.default
|
||||
if C.appearance.border.unitframes ~= "-1" then
|
||||
default_border = C.appearance.border.unitframes
|
||||
end
|
||||
|
||||
local rawborder, default_border = GetBorderSize("unitframes")
|
||||
local pspacing = C.unitframes.player.pspace
|
||||
local tspacing = C.unitframes.target.pspace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user