This commit is contained in:
Inusaito Sayori
2014-12-05 19:13:55 -05:00

View File

@@ -1498,23 +1498,8 @@ void LLFloater::draw()
}
else
{
// draw children
LLView* focused_child = dynamic_cast<LLView*>(gFocusMgr.getKeyboardFocus());
BOOL focused_child_visible = FALSE;
if (focused_child && focused_child->getParent() == this)
{
focused_child_visible = focused_child->getVisible();
focused_child->setVisible(FALSE);
}
// don't call LLPanel::draw() since we've implemented custom background rendering
LLView::draw();
if (focused_child_visible)
{
focused_child->setVisible(TRUE);
}
drawChild(focused_child);
}
if( isBackgroundVisible() )