From 0aad3828c7de81d3ce44e058f8dc7341281e1a16 Mon Sep 17 00:00:00 2001 From: Robin Date: Fri, 12 Feb 2021 06:35:38 +0100 Subject: [PATCH] Rev 1248 --- AceConfigDialog-3.0/AceConfigDialog-3.0.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/AceConfigDialog-3.0/AceConfigDialog-3.0.lua b/AceConfigDialog-3.0/AceConfigDialog-3.0.lua index a2eb711..f66086f 100644 --- a/AceConfigDialog-3.0/AceConfigDialog-3.0.lua +++ b/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 1247 2021-01-23 23:16:39Z funkehdude $ +-- @release $Id: AceConfigDialog-3.0.lua 1248 2021-02-05 14:27:49Z funkehdude $ local LibStub = LibStub local gui = LibStub("AceGUI-3.0") local reg = LibStub("AceConfigRegistry-3.0") -local MAJOR, MINOR = "AceConfigDialog-3.0", 80 +local MAJOR, MINOR = "AceConfigDialog-3.0", 81 local AceConfigDialog, oldminor = LibStub:NewLibrary(MAJOR, MINOR) if not AceConfigDialog then return end @@ -544,12 +544,13 @@ local function GetFuncName(option) end do local frame = AceConfigDialog.popup - if not frame then + if not frame or oldminor < 81 then frame = CreateFrame("Frame", nil, UIParent) AceConfigDialog.popup = frame frame:Hide() frame:SetPoint("CENTER", UIParent, "CENTER") frame:SetSize(320, 72) + frame:EnableMouse(true) -- Do not allow click-through on the frame frame:SetFrameStrata("TOOLTIP") frame:SetFrameLevel(100) -- Lots of room to draw under it frame:SetScript("OnKeyDown", function(self, key) @@ -575,7 +576,7 @@ do insets = { left = 11, right = 11, top = 11, bottom = 11 }, }) else - local border = CreateFrame("Frame", nil, frame, "DialogBorderDarkTemplate") + local border = CreateFrame("Frame", nil, frame, "DialogBorderOpaqueTemplate") border:SetAllPoints(frame) frame:SetFixedFrameStrata(true) frame:SetFixedFrameLevel(true)