diff options
| author | Vadim ProductEngine <vsavchuk@productengine.com> | 2010-12-06 19:19:31 +0200 |
|---|---|---|
| committer | Vadim ProductEngine <vsavchuk@productengine.com> | 2010-12-06 19:19:31 +0200 |
| commit | e03e3257ab2405149c85277e7259dbc2b361dcb0 (patch) | |
| tree | 5096a849bd8f66b4713ca80601a224fb8254e20f /indra/newview/llcallfloater.cpp | |
| parent | 37c65e371d15bce250a2df3cc7c1a1cd235ec2fa (diff) | |
STORM-730 FIXED Made Movement Controls, Camera Controls and Nearby Voice floaters use active floater transparency.
Diffstat (limited to 'indra/newview/llcallfloater.cpp')
| -rw-r--r-- | indra/newview/llcallfloater.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/newview/llcallfloater.cpp b/indra/newview/llcallfloater.cpp index b2e9564f7d..328c326278 100644 --- a/indra/newview/llcallfloater.cpp +++ b/indra/newview/llcallfloater.cpp @@ -167,6 +167,7 @@ BOOL LLCallFloater::postBuild() //chrome="true" hides floater caption if (mDragHandle) mDragHandle->setTitleVisible(TRUE); + updateTransparency(TT_ACTIVE); // force using active floater transparency (STORM-730) updateSession(); @@ -206,6 +207,17 @@ void LLCallFloater::draw() } // virtual +void LLCallFloater::setFocus( BOOL b ) +{ + LLTransientDockableFloater::setFocus(b); + + // Force using active floater transparency (STORM-730). + // We have to override setFocus() for LLCallFloater because selecting an item + // of the voice morphing combobox causes the floater to lose focus and thus become transparent. + updateTransparency(TT_ACTIVE); +} + +// virtual void LLCallFloater::onParticipantsChanged() { if (NULL == mParticipants) return; |
