summaryrefslogtreecommitdiff
path: root/indra/llui/lluictrl.cpp
diff options
context:
space:
mode:
authorVadim ProductEngine <vsavchuk@productengine.com>2010-12-04 13:07:51 +0200
committerVadim ProductEngine <vsavchuk@productengine.com>2010-12-04 13:07:51 +0200
commitb9fa0e9bbe0db5ecdfb5fbdd88474e0d3bb8eed2 (patch)
tree11d22fbc694ed084e707198fd72c4179091f7b2a /indra/llui/lluictrl.cpp
parentd0ec374e15c5a5a8edf59441d8b8350daeb8285b (diff)
STORM-717 FIXED Made nearby chat toasts respect transparency settings:
* Normally toasts are as opaque as specified by "inactive floater opacity" setting. * When mouse is hovering a toast, the toast uses "active floater opacity" setting. * Fading toasts have 1/2 of "inactive floater opacity".
Diffstat (limited to 'indra/llui/lluictrl.cpp')
-rw-r--r--indra/llui/lluictrl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llui/lluictrl.cpp b/indra/llui/lluictrl.cpp
index 7e4cb78d80..afd60cbb3e 100644
--- a/indra/llui/lluictrl.cpp
+++ b/indra/llui/lluictrl.cpp
@@ -944,6 +944,10 @@ F32 LLUICtrl::getCurrentTransparency()
case TT_INACTIVE:
alpha = sInactiveControlTransparency;
break;
+
+ case TT_FADING:
+ alpha = sInactiveControlTransparency / 2;
+ break;
}
return alpha;