hooksecurefunc('UIDropDownMenu_AddButton', function(info, level)
if not level then level = 1 end
for j = 1, _G.UIDROPDOWNMENU_MAXBUTTONS do
UIDROPDOWNMENU_BUTTON_HEIGHT = info.isLynMenu and 26 or 16
local button = _G['DropDownList'..level..'Button'..j]
local icon = _G['DropDownList'..level..'Button'..j..'Icon']
button:SetHeight(UIDROPDOWNMENU_BUTTON_HEIGHT)
if not button.iconOnly and info.isLynMenu then
icon:SetSize(24, 24)
end
end
end)
This code breaks the following code by Blizzard