Originally Posted by Ketho
I still have no idea why that was happening even after reading your posts or where the issue lies. Hopefully it's not because WardrobeSort (LoadOnDemand) is initializing the dropdowns on WardrobeCollectionFrame.ItemsCollectionFrame:HookScript("OnShow", func) or something
|
Not sure if it's related to the hootscript, but I also suspect it could related to the customized codes below:
Lua Code:
for i = 1, LIB_UIDROPDOWNMENU_MAXLEVELS do
local listFrameName = "Lib_DropDownList"..i;
local f = CreateFrame("Button", listFrameName, nil, "Lib_UIDropDownListTemplate");
f:SetID(i);
f:SetSize(180, 10);
f:SetFrameStrata("FULLSCREEN_DIALOG");
local fontName, fontHeight, fontFlags = _G["Lib_DropDownList1Button1NormalText"]:GetFont();
LIB_UIDROPDOWNMENU_DEFAULT_TEXT_HEIGHT = fontHeight;
for j = 1, LIB_UIDROPDOWNMENU_MAXBUTTONS do
local b = CreateFrame("Button", listFrameName.."Button"..j, f, "Lib_UIDropDownMenuButtonTemplate");
b:SetID(j);
end
end
This was added in the very early version of the NoTaint_DropDownMenu.