Port XML templates to Lua, update AceGUI/AceConfig, fix $parent nil frame issues on our game version
This commit is contained in:
@@ -309,11 +309,11 @@ local backdrop = {
|
||||
}
|
||||
|
||||
local function Constructor()
|
||||
local frame = CreateFrame("Frame", nil, UIParent)
|
||||
local widgetNum = AceGUI:GetNextWidgetNum(Type)
|
||||
local frame = CreateFrame("Frame", ("%s%Frame"):format(Type, widgetNum), UIParent)
|
||||
frame:Hide()
|
||||
|
||||
frame:SetScript("OnShow", OnFrameShow);
|
||||
local widgetNum = AceGUI:GetNextWidgetNum(Type)
|
||||
|
||||
local label = frame:CreateFontString(nil, "OVERLAY", "GameFontNormalSmall")
|
||||
label:SetPoint("TOPLEFT", frame, "TOPLEFT", 0, -4)
|
||||
|
||||
Reference in New Issue
Block a user