Commits

leslie_linden  committed 216c703

* Fixed icon opacity on selected and unselected buttons

  • Participants
  • Parent commits 8748f96

Comments (0)

Files changed (2)

File indra/llui/llbutton.cpp

 		{
 			overlay_color = mImageOverlayDisabledColor.get();
 		}
-		else if (!getToggleState())
+		else if (getToggleState())
 		{
 			overlay_color = mImageOverlaySelectedColor.get();
 		}

File indra/llui/lltoolbar.cpp

 		mUnselectedLabelColor = mOriginalLabelColor;
 		mSelectedLabelColor = mOriginalLabelColorSelected;
 		mImageOverlayColor = mOriginalImageOverlayColor;
-		mOriginalImageOverlaySelectedColor = mOriginalImageOverlaySelectedColor;
+		mImageOverlaySelectedColor = mOriginalImageOverlaySelectedColor;
 	}
-
 	else
 	{
 		mImageSelected = mImageDisabledSelected;