WoWInterface SVN NoTaint_UIDropDownMenu_Update

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 6 to Rev 7
    Reverse comparison

Rev 6 → Rev 7

trunk/UIDropDownMenu.lua
545,16 → 545,12
colorSwatch:Hide();
end
 
if (info.minWidth) then
width = max(Lib_UIDropDownMenu_GetButtonWidth(button), info.minWidth);
else
width = 0;
end
width = max(Lib_UIDropDownMenu_GetButtonWidth(button), info.minWidth or 0);
--Set maximum button width
if (not listFrame.maxWidth) then
listFrame.maxWidth = 0;
end
if ( width > listFrame.maxWidth ) then
--if (not listFrame.maxWidth) then
-- listFrame.maxWidth = 0;
--end
if ( listFrame.maxWidth and width > listFrame.maxWidth ) then
listFrame.maxWidth = width;
end