Skip to content

Commit

Permalink
No global names for WeakAurasDisplayButtons and WeakAurasImportButtons
Browse files Browse the repository at this point in the history
They accidentally used the same name, prooving that we don't really need
to give them names.
  • Loading branch information
InfusOnWoW committed Mar 31, 2024
1 parent 7836ba7 commit 6334101
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1763,8 +1763,7 @@ Constructor
-------------------------------------------------------------------------------]]

local function Constructor()
local name = "WeakAurasDisplayButton"..AceGUI:GetNextWidgetNum(Type);
local button = CreateFrame("Button", name, UIParent, "OptionsListButtonTemplate");
local button = CreateFrame("Button", nil, UIParent, "OptionsListButtonTemplate");
button:SetHeight(32);
button:SetWidth(1000);
button.dgroup = nil;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,7 @@ Constructor
-------------------------------------------------------------------------------]]

local function Constructor()
local name = "WeakAurasImportButton"..AceGUI:GetNextWidgetNum(Type);
local button = CreateFrame("Button", name, UIParent, "OptionsListButtonTemplate");
local button = CreateFrame("Button", nil, UIParent, "OptionsListButtonTemplate");
button:SetHeight(18);
button:SetWidth(380);
button.dgroup = nil;
Expand Down

0 comments on commit 6334101

Please sign in to comment.