From 6590e8adb9abfca939df66dafb931faa36419bc2 Mon Sep 17 00:00:00 2001 From: Crum Date: Wed, 13 Jun 2018 17:03:57 -0500 Subject: [PATCH] temp disable SetAttribute --- .../LibUIDropDownMenu/LibUIDropDownMenu.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ElvUI/Libraries/LibUIDropDownMenu/LibUIDropDownMenu.lua b/ElvUI/Libraries/LibUIDropDownMenu/LibUIDropDownMenu.lua index 0b22af2..e3d56ad 100644 --- a/ElvUI/Libraries/LibUIDropDownMenu/LibUIDropDownMenu.lua +++ b/ElvUI/Libraries/LibUIDropDownMenu/LibUIDropDownMenu.lua @@ -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];