mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
temp disable SetAttribute
This commit is contained in:
@@ -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];
|
||||||
|
|||||||
Reference in New Issue
Block a user