diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llui/llfloater.cpp | 2 | ||||
-rw-r--r-- | linden/indra/llui/lltabcontainer.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/llui/llfloater.cpp b/linden/indra/llui/llfloater.cpp index 03914e2..bf50830 100644 --- a/linden/indra/llui/llfloater.cpp +++ b/linden/indra/llui/llfloater.cpp | |||
@@ -2571,6 +2571,8 @@ void LLMultiFloater::addFloater(LLFloater* floaterp, BOOL select_added_floater, | |||
2571 | floaterp->setCanResize(FALSE); | 2571 | floaterp->setCanResize(FALSE); |
2572 | floaterp->setCanDrag(FALSE); | 2572 | floaterp->setCanDrag(FALSE); |
2573 | floaterp->storeRectControl(); | 2573 | floaterp->storeRectControl(); |
2574 | // avoid double rendering of floater background (makes it more opaque) | ||
2575 | floaterp->setBackgroundVisible(FALSE); | ||
2574 | 2576 | ||
2575 | if (mAutoResize) | 2577 | if (mAutoResize) |
2576 | { | 2578 | { |
diff --git a/linden/indra/llui/lltabcontainer.cpp b/linden/indra/llui/lltabcontainer.cpp index 7f581dc..44f1f20 100644 --- a/linden/indra/llui/lltabcontainer.cpp +++ b/linden/indra/llui/lltabcontainer.cpp | |||
@@ -716,7 +716,6 @@ void LLTabContainer::addTabPanel(LLPanel* child, | |||
716 | child->setFollowsAll(); | 716 | child->setFollowsAll(); |
717 | child->translate( tab_panel_rect.mLeft - child->getRect().mLeft, tab_panel_rect.mBottom - child->getRect().mBottom); | 717 | child->translate( tab_panel_rect.mLeft - child->getRect().mLeft, tab_panel_rect.mBottom - child->getRect().mBottom); |
718 | child->reshape( tab_panel_rect.getWidth(), tab_panel_rect.getHeight(), TRUE ); | 718 | child->reshape( tab_panel_rect.getWidth(), tab_panel_rect.getHeight(), TRUE ); |
719 | child->setBackgroundVisible( FALSE ); // No need to overdraw | ||
720 | // add this child later | 719 | // add this child later |
721 | 720 | ||
722 | child->setVisible( FALSE ); // Will be made visible when selected | 721 | child->setVisible( FALSE ); // Will be made visible when selected |
@@ -1795,3 +1794,4 @@ void LLTabContainer::commitHoveredButton(S32 x, S32 y) | |||
1795 | } | 1794 | } |
1796 | } | 1795 | } |
1797 | 1796 | ||
1797 | |||