mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-02 03:39:59 +00:00
modules: make all modules aware of the new borders
This commit is contained in:
+3
-1
@@ -1,4 +1,6 @@
|
||||
pfUI:RegisterModule("addons", "vanilla:tbc", function ()
|
||||
local rawborder, border = GetBorderSize()
|
||||
|
||||
-- add main menu button
|
||||
local pfUIAddonButton = CreateFrame("Button", "GameMenuButtonPFUIAddOns", GameMenuFrame, "GameMenuButtonTemplate")
|
||||
pfUIAddonButton:SetPoint("TOP", 0, -32)
|
||||
@@ -47,7 +49,7 @@ pfUI:RegisterModule("addons", "vanilla:tbc", function ()
|
||||
pfUI.addons.caption:SetText(T["Addon List"])
|
||||
|
||||
pfUI.addons.close = CreateFrame("Button", "pfBagClose", pfUI.addons)
|
||||
pfUI.addons.close:SetPoint("TOPRIGHT", -C.appearance.border.default*2,-C.appearance.border.default*2 )
|
||||
pfUI.addons.close:SetPoint("TOPRIGHT", -border*2,-border*2 )
|
||||
CreateBackdrop(pfUI.addons.close)
|
||||
pfUI.addons.close:SetHeight(15)
|
||||
pfUI.addons.close:SetWidth(15)
|
||||
|
||||
Reference in New Issue
Block a user