* Dimmed overlay color on button image overlays to 0.75*alpha when buttons are

unselected.
master
Leslie Linden 2011-10-11 15:54:56 -07:00
parent 6f39beec9a
commit ca9ea84095
1 changed files with 4 additions and 0 deletions

View File

@ -828,6 +828,10 @@ void LLButton::draw()
{
overlay_color.mV[VALPHA] = 0.5f;
}
else if (!getToggleState())
{
overlay_color.mV[VALPHA] = 0.75f;
}
overlay_color.mV[VALPHA] *= alpha;
switch(mImageOverlayAlignment)