load StateDriver libraries & update files as needed (Needs more testing)

This commit is contained in:
Crum
2018-06-07 01:28:29 -05:00
parent cd7ea3556e
commit 26ca83f608
10 changed files with 910 additions and 109 deletions
@@ -292,9 +292,9 @@ function L_UIDropDownMenu_AddButton(info, level)
local index = listFrame and (listFrame.numButtons + 1) or 1;
local width;
--UIDropDownMenuDelegate:SetAttribute("createframes-level", level);
--UIDropDownMenuDelegate:SetAttribute("createframes-index", index);
--UIDropDownMenuDelegate:SetAttribute("createframes", true);
UIDropDownMenuDelegate:SetAttribute("createframes-level", level);
UIDropDownMenuDelegate:SetAttribute("createframes-index", index);
UIDropDownMenuDelegate:SetAttribute("createframes", true);
listFrame = listFrame or _G["L_DropDownList"..level];
local listFrameName = listFrame:GetName();
@@ -789,9 +789,9 @@ function L_ToggleDropDownMenu(level, value, dropDownFrame, anchorName, xOffset,
level = 1;
end
--UIDropDownMenuDelegate:SetAttribute("createframes-level", level);
--UIDropDownMenuDelegate:SetAttribute("createframes-index", 0);
--UIDropDownMenuDelegate:SetAttribute("createframes", true);
UIDropDownMenuDelegate:SetAttribute("createframes-level", level);
UIDropDownMenuDelegate:SetAttribute("createframes-index", 0);
UIDropDownMenuDelegate:SetAttribute("createframes", true);
L_UIDROPDOWNMENU_MENU_LEVEL = level;
L_UIDROPDOWNMENU_MENU_VALUE = value;
local listFrame = _G["L_DropDownList"..level];