merge.
commit
7ba025b625
|
|
@ -1650,24 +1650,8 @@ void LLFloater::draw()
|
|||
}
|
||||
else
|
||||
{
|
||||
//FIXME: get rid of this hack
|
||||
// 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);
|
||||
}
|
||||
|
||||
// update tearoff button for torn off floaters
|
||||
|
|
|
|||
Loading…
Reference in New Issue