temp disable SetAttribute

This commit is contained in:
Crum
2018-06-13 17:03:57 -05:00
parent cc24dca113
commit 6590e8adb9
@@ -292,9 +292,9 @@ function L_UIDropDownMenu_AddButton(info, level)
local index = listFrame and (listFrame.numButtons + 1) or 1; local index = listFrame and (listFrame.numButtons + 1) or 1;
local width; local width;
UIDropDownMenuDelegate:SetAttribute("createframes-level", level); -- UIDropDownMenuDelegate:SetAttribute("createframes-level", level);
UIDropDownMenuDelegate:SetAttribute("createframes-index", index); -- UIDropDownMenuDelegate:SetAttribute("createframes-index", index);
UIDropDownMenuDelegate:SetAttribute("createframes", true); -- UIDropDownMenuDelegate:SetAttribute("createframes", true);
listFrame = listFrame or _G["L_DropDownList"..level]; listFrame = listFrame or _G["L_DropDownList"..level];
local listFrameName = listFrame:GetName(); local listFrameName = listFrame:GetName();
@@ -789,9 +789,9 @@ function L_ToggleDropDownMenu(level, value, dropDownFrame, anchorName, xOffset,
level = 1; level = 1;
end end
UIDropDownMenuDelegate:SetAttribute("createframes-level", level); -- UIDropDownMenuDelegate:SetAttribute("createframes-level", level);
UIDropDownMenuDelegate:SetAttribute("createframes-index", 0); -- UIDropDownMenuDelegate:SetAttribute("createframes-index", 0);
UIDropDownMenuDelegate:SetAttribute("createframes", true); -- UIDropDownMenuDelegate:SetAttribute("createframes", true);
L_UIDROPDOWNMENU_MENU_LEVEL = level; L_UIDROPDOWNMENU_MENU_LEVEL = level;
L_UIDROPDOWNMENU_MENU_VALUE = value; L_UIDROPDOWNMENU_MENU_VALUE = value;
local listFrame = _G["L_DropDownList"..level]; local listFrame = _G["L_DropDownList"..level];