Skip to content
Snippets Groups Projects
Commit ca9ea840 authored by Leslie Linden's avatar Leslie Linden
Browse files

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

  unselected.
parent 6f39beec
No related branches found
No related tags found
No related merge requests found
...@@ -828,6 +828,10 @@ void LLButton::draw() ...@@ -828,6 +828,10 @@ void LLButton::draw()
{ {
overlay_color.mV[VALPHA] = 0.5f; overlay_color.mV[VALPHA] = 0.5f;
} }
else if (!getToggleState())
{
overlay_color.mV[VALPHA] = 0.75f;
}
overlay_color.mV[VALPHA] *= alpha; overlay_color.mV[VALPHA] *= alpha;
switch(mImageOverlayAlignment) switch(mImageOverlayAlignment)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment