mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-30 11:10:00 +00:00
modules: make all modules aware of the new borders
This commit is contained in:
@@ -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 {}
|
||||
|
||||
Reference in New Issue
Block a user