Infus

Untitled

Jul 26th, 2016
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 3.89 KB | None | 0 0
  1. diff --git a/WeakAuras/libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua b/WeakAuras/libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua
  2. index 3612fe8..f35d8d9 100644
  3. --- a/WeakAuras/libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua
  4. +++ b/WeakAuras/libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua
  5. @@ -4,7 +4,7 @@
  6.  -- @release $Id: AceConfigDialog-3.0.lua 1139 2016-07-03 07:43:51Z nevcairiel $
  7.  
  8.  local LibStub = LibStub
  9. -local MAJOR, MINOR = "AceConfigDialog-3.0", 61
  10. +local MAJOR, MINOR = "AceConfigDialog-3.0", 62
  11.  local AceConfigDialog, oldminor = LibStub:NewLibrary(MAJOR, MINOR)
  12.  
  13.  if not AceConfigDialog then return end
  14. @@ -1398,6 +1398,7 @@ local function FeedOptions(appName, options,container,rootframe,path,group,inlin
  15.                     end
  16.  
  17.                     InjectInfo(control, options, v, path, rootframe, appName)
  18. +                   control.rowStart = GetOptionsMemberValue("rowStart", v, options, path, appName);
  19.                     container:AddChild(control)
  20.                 end
  21.  
  22. diff --git a/WeakAuras/libs/AceConfig-3.0/AceConfigRegistry-3.0/AceConfigRegistry-3.0.lua b/WeakAuras/libs/AceConfig-3.0/AceConfigRegistry-3.0/AceConfigRegistry-3.0.lua
  23. index cf81973..a3301fc 100644
  24. --- a/WeakAuras/libs/AceConfig-3.0/AceConfigRegistry-3.0/AceConfigRegistry-3.0.lua
  25. +++ b/WeakAuras/libs/AceConfig-3.0/AceConfigRegistry-3.0/AceConfigRegistry-3.0.lua
  26. @@ -9,7 +9,7 @@
  27.  -- @class file
  28.  -- @name AceConfigRegistry-3.0
  29.  -- @release $Id: AceConfigRegistry-3.0.lua 1139 2016-07-03 07:43:51Z nevcairiel $
  30. -local MAJOR, MINOR = "AceConfigRegistry-3.0", 16
  31. +local MAJOR, MINOR = "AceConfigRegistry-3.0", 17
  32.  local AceConfigRegistry = LibStub:NewLibrary(MAJOR, MINOR)
  33.  
  34.  if not AceConfigRegistry then return end
  35. @@ -91,6 +91,7 @@ local basekeys={
  36.     func=optmethodfalse,
  37.     arg={["*"]=true},
  38.     width=optstring,
  39. +   rowStart=optbool
  40.  }
  41.  
  42.  local typedkeys={
  43. diff --git a/WeakAuras/libs/AceGUI-3.0/AceGUI-3.0.lua b/WeakAuras/libs/AceGUI-3.0/AceGUI-3.0.lua
  44. index 9853644..5daad7b 100644
  45. --- a/WeakAuras/libs/AceGUI-3.0/AceGUI-3.0.lua
  46. +++ b/WeakAuras/libs/AceGUI-3.0/AceGUI-3.0.lua
  47. @@ -25,7 +25,7 @@
  48.  -- @class file
  49.  -- @name AceGUI-3.0
  50.  -- @release $Id: AceGUI-3.0.lua 1102 2013-10-25 14:15:23Z nevcairiel $
  51. -local ACEGUI_MAJOR, ACEGUI_MINOR = "AceGUI-3.0", 34
  52. +local ACEGUI_MAJOR, ACEGUI_MINOR = "AceGUI-3.0", 35
  53.  local AceGUI, oldminor = LibStub:NewLibrary(ACEGUI_MAJOR, ACEGUI_MINOR)
  54.  
  55.  if not AceGUI then return end -- No upgrade needed
  56. @@ -737,7 +737,7 @@ AceGUI:RegisterLayout("Flow",
  57.             else
  58.                 -- if there isn't available width for the control start a new row
  59.                 -- if a control is "fill" it will be on a row of its own full width
  60. -               if usedwidth == 0 or ((framewidth) + usedwidth > width) or child.width == "fill" then
  61. +               if usedwidth == 0 or ((framewidth) + usedwidth > width) or child.width == "fill" or child.rowStart then
  62.                     if isfullheight then
  63.                         -- a previous row has already filled the entire height, there's nothing we can usefully do anymore
  64.                         -- (maybe error/warn about this?)
  65. diff --git a/WeakAurasOptions/WeakAurasOptions.lua b/WeakAurasOptions/WeakAurasOptions.lua
  66. index 45ff269..df61836 100644
  67. --- a/WeakAurasOptions/WeakAurasOptions.lua
  68. +++ b/WeakAurasOptions/WeakAurasOptions.lua
  69. @@ -526,6 +526,7 @@ function WeakAuras.ConstructOptions(prototype, data, startorder, subPrefix, subS
  70.          options["use_"..name] = {
  71.            type = "toggle",
  72.            name = arg.display,
  73. +          rowStart = true,
  74.            desc = function()
  75.              local v = trigger["use_"..realname];
  76.              if(v == true) then
  77. @@ -572,6 +573,7 @@ function WeakAuras.ConstructOptions(prototype, data, startorder, subPrefix, subS
  78.            order = order,
  79.            hidden = hidden,
  80.            desc = arg.desc,
  81. +          rowStart = true,
  82.            get = function() return trigger["use_"..realname]; end,
  83.            set = function(info, v)
  84.              trigger["use_"..realname] = v;
Add Comment
Please, Sign In to add comment