from retail

This commit is contained in:
NoM0Re
2025-01-05 15:08:50 +01:00
parent 95db2e326e
commit 8375cfa0a7
115 changed files with 332 additions and 261 deletions
@@ -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;