STORM-1028 WIP Fixing bottom bar buttons reshaping, tier 1

Fixed bottom tray buttons not showing under some circumstances.
(the fix was made weeks ago, so I don't remember what the circumstances are)
meow-7.2.2
Vadim ProductEngine 2011-04-06 01:48:07 +03:00
parent b7635b6112
commit e4e33cac29
1 changed files with 3 additions and 0 deletions

View File

@ -1652,8 +1652,11 @@ bool LLBottomTray::setVisibleAndFitWidths(EResizeState object_type, bool visible
S32 result_width = 0;
bool decrease_width = false;
#if 0
// Mark this button to be shown
lldebugs << "Adding " << resizeStateToString(object_type) << " to mResizeState" << llendl;
mResizeState |= object_type;
#endif
if (preferred_width > 0 && available_width >= preferred_width)
{