Commits

Kent Quirk  committed 401b118

Importing patch for EXT-5571 for Beta 3 release. Fix by Callum originally.

  • Participants
  • Parent commits 94a53ed

Comments (0)

Files changed (1)

File indra/newview/llbottomtray.cpp

 		else
 		{
 			//
-			mSpeakBtn->setLabelVisible(false);
+			//mSpeakBtn->setLabelVisible(false); // HACK: this button doesn't change size so label should not be turned off
 			S32 panel_width = mSpeakPanel->getRect().getWidth();
 			S32 possible_shrink_width = panel_width - panel_min_width;
 
 		S32 panel_max_width = mObjectDefaultWidthMap[RS_BUTTON_SPEAK];
 		S32 panel_width = mSpeakPanel->getRect().getWidth();
 		S32 possible_extend_width = panel_max_width - panel_width;
-		if (possible_extend_width > 0 && possible_extend_width <= *available_width)
+		if (possible_extend_width >= 0 && possible_extend_width <= *available_width)  // HACK: this button doesn't change size so possible_extend_width will be 0
 		{
 			mSpeakBtn->setLabelVisible(true);
 			mSpeakPanel->reshape(panel_max_width, mSpeakPanel->getRect().getHeight());