Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua
- ===================================================================
- --- AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua (revision 1168)
- +++ AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua (working copy)
- @@ -7,7 +7,7 @@
- local gui = LibStub("AceGUI-3.0")
- local reg = LibStub("AceConfigRegistry-3.0")
- -local MAJOR, MINOR = "AceConfigDialog-3.0", 65
- +local MAJOR, MINOR = "AceConfigDialog-3.0", 66
- local AceConfigDialog, oldminor = LibStub:NewLibrary(MAJOR, MINOR)
- if not AceConfigDialog then return end
- @@ -1227,6 +1227,8 @@
- radio:SetWidth(width_multiplier * 2)
- elseif width == "half" then
- radio:SetWidth(width_multiplier / 2)
- + elseif (type(width) == "number") then
- + radio:SetWidth(width_multiplier * width)
- elseif width == "full" then
- radio.width = "fill"
- else
- @@ -1289,6 +1291,8 @@
- control:SetWidth(width_multiplier * 2)
- elseif width == "half" then
- control:SetWidth(width_multiplier / 2)
- + elseif (type(width) == "number") then
- + control:SetWidth(width_multiplier * width)
- elseif width == "full" then
- control.width = "fill"
- else
- @@ -1325,6 +1329,8 @@
- check:SetWidth(width_multiplier * 2)
- elseif width == "half" then
- check:SetWidth(width_multiplier / 2)
- + elseif (type(width) == "number") then
- + control:SetWidth(width_multiplier * width)
- elseif width == "full" then
- check.width = "fill"
- else
- @@ -1406,6 +1412,8 @@
- control:SetWidth(width_multiplier * 2)
- elseif width == "half" then
- control:SetWidth(width_multiplier / 2)
- + elseif (type(width) == "number") then
- + control:SetWidth(width_multiplier * width)
- elseif width == "full" then
- control.width = "fill"
- else
- Index: AceConfig-3.0/AceConfigRegistry-3.0/AceConfigRegistry-3.0.lua
- ===================================================================
- --- AceConfig-3.0/AceConfigRegistry-3.0/AceConfigRegistry-3.0.lua (revision 1168)
- +++ AceConfig-3.0/AceConfigRegistry-3.0/AceConfigRegistry-3.0.lua (working copy)
- @@ -11,7 +11,7 @@
- -- @release $Id$
- local CallbackHandler = LibStub("CallbackHandler-1.0")
- -local MAJOR, MINOR = "AceConfigRegistry-3.0", 17
- +local MAJOR, MINOR = "AceConfigRegistry-3.0", 18
- local AceConfigRegistry = LibStub:NewLibrary(MAJOR, MINOR)
- if not AceConfigRegistry then return end
- @@ -67,6 +67,7 @@
- local opttable={["nil"]=true,["table"]=true, _="table"}
- local optbool={["nil"]=true,["boolean"]=true, _="boolean"}
- local optboolnumber={["nil"]=true,["boolean"]=true,["number"]=true, _="boolean or number"}
- +local optstringnumber={["nil"]=true,["string"]=true,["number"]=true, _="string or number"}
- local basekeys={
- type=isstring,
- @@ -90,7 +91,7 @@
- set=optmethodfalse,
- func=optmethodfalse,
- arg={["*"]=true},
- - width=optstring,
- + width=optstringnumber,
- }
- local typedkeys={
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement