From f694d2fea26098a890b7e3148ffee83fcec773f5 Mon Sep 17 00:00:00 2001 From: Eugene Mutavchi Date: Mon, 28 Dec 2009 13:51:29 +0200 Subject: Fixed normal bug EXT-3374([BSI] Notifications and dialogs are semi-transparent (not opaque) even when in focus) --HG-- branch : product-engine --- indra/newview/lltoast.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'indra/newview/lltoast.cpp') diff --git a/indra/newview/lltoast.cpp b/indra/newview/lltoast.cpp index 2a56b2cd3a..96d1624cd4 100644 --- a/indra/newview/lltoast.cpp +++ b/indra/newview/lltoast.cpp @@ -245,7 +245,7 @@ void LLToast::setVisible(BOOL show) if(show) { setBackgroundOpaque(TRUE); - if(!mTimer.getStarted()) + if(!mTimer.getStarted() && mCanFade) { mTimer.start(); } @@ -266,8 +266,6 @@ void LLToast::onMouseEnter(S32 x, S32 y, MASK mask) { mOnToastHoverSignal(this, MOUSE_ENTER); - setBackgroundOpaque(TRUE); - //toasts fading is management by Screen Channel sendChildToFront(mHideBtn); -- cgit v1.2.3