Update Ace3 to 1249
This commit is contained in:
parent
23f2f8878a
commit
585edc8836
|
@ -5,4 +5,4 @@
|
||||||
<Include file="AceConfigDialog-3.0\AceConfigDialog-3.0.xml"/>
|
<Include file="AceConfigDialog-3.0\AceConfigDialog-3.0.xml"/>
|
||||||
<!--<Include file="AceConfigDropdown-3.0\AceConfigDropdown-3.0.xml"/>-->
|
<!--<Include file="AceConfigDropdown-3.0\AceConfigDropdown-3.0.xml"/>-->
|
||||||
<Script file="AceConfig-3.0.lua"/>
|
<Script file="AceConfig-3.0.lua"/>
|
||||||
</Ui>
|
</Ui>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
|
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
|
||||||
..\FrameXML\UI.xsd">
|
..\FrameXML\UI.xsd">
|
||||||
<Script file="AceConfigCmd-3.0.lua"/>
|
<Script file="AceConfigCmd-3.0.lua"/>
|
||||||
</Ui>
|
</Ui>
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
--- AceConfigDialog-3.0 generates AceGUI-3.0 based windows based on option tables.
|
--- AceConfigDialog-3.0 generates AceGUI-3.0 based windows based on option tables.
|
||||||
-- @class file
|
-- @class file
|
||||||
-- @name AceConfigDialog-3.0
|
-- @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 LibStub = LibStub
|
||||||
local gui = LibStub("AceGUI-3.0")
|
local gui = LibStub("AceGUI-3.0")
|
||||||
local reg = LibStub("AceConfigRegistry-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)
|
local AceConfigDialog, oldminor = LibStub:NewLibrary(MAJOR, MINOR)
|
||||||
|
|
||||||
if not AceConfigDialog then return end
|
if not AceConfigDialog then return end
|
||||||
|
@ -544,12 +544,13 @@ local function GetFuncName(option)
|
||||||
end
|
end
|
||||||
do
|
do
|
||||||
local frame = AceConfigDialog.popup
|
local frame = AceConfigDialog.popup
|
||||||
if not frame then
|
if not frame or oldminor < 81 then
|
||||||
frame = CreateFrame("Frame", nil, UIParent)
|
frame = CreateFrame("Frame", nil, UIParent)
|
||||||
AceConfigDialog.popup = frame
|
AceConfigDialog.popup = frame
|
||||||
frame:Hide()
|
frame:Hide()
|
||||||
frame:SetPoint("CENTER", UIParent, "CENTER")
|
frame:SetPoint("CENTER", UIParent, "CENTER")
|
||||||
frame:SetSize(320, 72)
|
frame:SetSize(320, 72)
|
||||||
|
frame:EnableMouse(true) -- Do not allow click-through on the frame
|
||||||
frame:SetFrameStrata("TOOLTIP")
|
frame:SetFrameStrata("TOOLTIP")
|
||||||
frame:SetFrameLevel(100) -- Lots of room to draw under it
|
frame:SetFrameLevel(100) -- Lots of room to draw under it
|
||||||
frame:SetScript("OnKeyDown", function(self, key)
|
frame:SetScript("OnKeyDown", function(self, key)
|
||||||
|
@ -575,7 +576,7 @@ do
|
||||||
insets = { left = 11, right = 11, top = 11, bottom = 11 },
|
insets = { left = 11, right = 11, top = 11, bottom = 11 },
|
||||||
})
|
})
|
||||||
else
|
else
|
||||||
local border = CreateFrame("Frame", nil, frame, "DialogBorderDarkTemplate")
|
local border = CreateFrame("Frame", nil, frame, "DialogBorderOpaqueTemplate")
|
||||||
border:SetAllPoints(frame)
|
border:SetAllPoints(frame)
|
||||||
frame:SetFixedFrameStrata(true)
|
frame:SetFixedFrameStrata(true)
|
||||||
frame:SetFixedFrameLevel(true)
|
frame:SetFixedFrameLevel(true)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
|
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
|
||||||
..\FrameXML\UI.xsd">
|
..\FrameXML\UI.xsd">
|
||||||
<Script file="AceConfigDialog-3.0.lua"/>
|
<Script file="AceConfigDialog-3.0.lua"/>
|
||||||
</Ui>
|
</Ui>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
|
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
|
||||||
..\FrameXML\UI.xsd">
|
..\FrameXML\UI.xsd">
|
||||||
<Script file="AceConfigRegistry-3.0.lua"/>
|
<Script file="AceConfigRegistry-3.0.lua"/>
|
||||||
</Ui>
|
</Ui>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
|
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
|
||||||
..\FrameXML\UI.xsd">
|
..\FrameXML\UI.xsd">
|
||||||
<Script file="AceDB-3.0.lua"/>
|
<Script file="AceDB-3.0.lua"/>
|
||||||
</Ui>
|
</Ui>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
|
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
|
||||||
..\FrameXML\UI.xsd">
|
..\FrameXML\UI.xsd">
|
||||||
<Script file="AceDBOptions-3.0.lua"/>
|
<Script file="AceDBOptions-3.0.lua"/>
|
||||||
</Ui>
|
</Ui>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
|
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
|
||||||
..\FrameXML\UI.xsd">
|
..\FrameXML\UI.xsd">
|
||||||
<Script file="AceLocale-3.0.lua"/>
|
<Script file="AceLocale-3.0.lua"/>
|
||||||
</Ui>
|
</Ui>
|
||||||
|
|
Loading…
Reference in New Issue