From 1ee281998830e8930b7742088922ab8f6ee0fe2e Mon Sep 17 00:00:00 2001 From: Ludovicus Date: Thu, 8 Aug 2019 17:49:38 -0400 Subject: [PATCH] Official r1225 fix forAceConfigDialog-3.0.lua --- .../AceConfigDialog-3.0/AceConfigDialog-3.0.lua | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua b/libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua index 3e44e90..e5fcb2e 100755 --- a/libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua +++ b/libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua @@ -1,13 +1,13 @@ --- AceConfigDialog-3.0 generates AceGUI-3.0 based windows based on option tables. -- @class file -- @name AceConfigDialog-3.0 --- @release $Id: AceConfigDialog-3.0.lua 1222 2019-07-26 22:14:43Z funkydude $ +-- @release $Id: AceConfigDialog-3.0.lua 1225 2019-08-06 13:37:52Z nevcairiel $ local LibStub = LibStub local gui = LibStub("AceGUI-3.0") local reg = LibStub("AceConfigRegistry-3.0") -local MAJOR, MINOR = "AceConfigDialog-3.0", 77 +local MAJOR, MINOR = "AceConfigDialog-3.0", 78 local AceConfigDialog, oldminor = LibStub:NewLibrary(MAJOR, MINOR) if not AceConfigDialog then return end @@ -564,8 +564,19 @@ do end end) - local border = CreateFrame("Frame", nil, frame) - border:SetAllPoints(frame) + if WOW_PROJECT_ID == WOW_PROJECT_CLASSIC then + frame:SetBackdrop({ + bgFile = [[Interface\DialogFrame\UI-DialogBox-Background-Dark]], + edgeFile = [[Interface\DialogFrame\UI-DialogBox-Border]], + tile = true, + tileSize = 32, + edgeSize = 32, + insets = { left = 11, right = 11, top = 11, bottom = 11 }, + }) + else + local border = CreateFrame("Frame", nil, frame, "DialogBorderDarkTemplate") + border:SetAllPoints(frame) + end local text = frame:CreateFontString(nil, "ARTWORK", "GameFontHighlight") text:SetSize(290, 0) -- 1.7.9.5