modules: make all modules aware of the new borders

This commit is contained in:
shagu
2019-12-18 18:54:09 +01:00
parent a75204540e
commit 3334c7469f
31 changed files with 70 additions and 143 deletions
+1 -4
View File
@@ -18,10 +18,7 @@ pfUI:RegisterModule("group", "vanilla:tbc", function ()
function pfUI.uf.group:UpdateConfig()
local startid = C.unitframes.selfingroup == "1" and 0 or 1
local spacing = C.unitframes.group.pspace
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")
for i=0, 4 do
local active = i >= 1 or startid == 0