from retail
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
if not WeakAuras.IsCorrectVersion() then return end
|
||||
if not WeakAuras.IsCorrectVersion() or not WeakAuras.IsLibsOK() then return end
|
||||
|
||||
local Type, Version = "WeakAurasImportButton", 20
|
||||
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
|
||||
@@ -124,7 +124,7 @@ Constructor
|
||||
|
||||
local function Constructor()
|
||||
local name = "WeakAurasImportButton"..AceGUI:GetNextWidgetNum(Type);
|
||||
local button = CreateFrame("BUTTON", name, UIParent, "OptionsListButtonTemplate");
|
||||
local button = CreateFrame("Button", name, UIParent, "OptionsListButtonTemplate");
|
||||
button:SetHeight(18);
|
||||
button:SetWidth(380);
|
||||
button.dgroup = nil;
|
||||
@@ -136,7 +136,7 @@ local function Constructor()
|
||||
background:SetVertexColor(0.5, 0.5, 0.5, 0.25);
|
||||
background:SetAllPoints(button);
|
||||
|
||||
local expand = CreateFrame("BUTTON", nil, button);
|
||||
local expand = CreateFrame("Button", nil, button);
|
||||
button.expand = expand;
|
||||
expand.expanded = true;
|
||||
expand.disabled = true;
|
||||
|
||||
Reference in New Issue
Block a user