WoWInterface SVN NoTaint_UIDropDownMenu_Update

Compare Revisions

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

Rev 7 → Rev 6

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