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
@@ -2,10 +2,7 @@ pfUI:RegisterModule("addonbuttons", "vanilla", function ()
if not pfUI.minimap then return end
if C.abuttons.enable == "0" then return end
local default_border = C.appearance.border.default
if C.appearance.border.panels ~= "-1" then
default_border = C.appearance.border.panels
end
local rawborder, border = GetBorderSize("panels")
pfUI_cache["abuttons"] = pfUI_cache["abuttons"] or {}
pfUI_cache["abuttons"]["add"] = pfUI_cache["abuttons"]["add"] or {}