for the issue that Accountant Classic's menu will be showing in WardrobeSort, I can do some enhancement to see if the problem will be gone.
But like Resike said, even with the NoTaint_UIDropDown which I revised, still need some more test as I can 100% sure it should work just fine.
For your information, I did add some enhancement in the function Lib_UIDropDownMenu_AddButton():
1.
old codes:
Lua Code:
....
local listFrame = _G["DropDownList"..level];
local index = listFrame and (listFrame.numButtons + 1) or 1;
local width;
new codes:
Lua Code:
....
local index;
local listFrame = _G["Lib_DropDownList"..level];
if (listFrame and listFrame.numButtons) then
index = listFrame.numButtons + 1;
else
index = 1;
end
local width;
2.
old codes:
Lua Code:
....
width = max(UIDropDownMenu_GetButtonWidth(button), info.minWidth or 0);
--Set maximum button width
if ( width > listFrame.maxWidth ) then
listFrame.maxWidth = width;
end
new codes:
Lua Code:
....
width = max(Lib_UIDropDownMenu_GetButtonWidth(button), info.minWidth or 0);
--Set maximum button width
if ( listFrame.maxWidth and width > listFrame.maxWidth ) then
listFrame.maxWidth = width;
end