EXT-5515 - Allow resizing on left and lower left of nearby media popup

master
Richard Linden 2010-02-17 22:22:14 -08:00
parent f6079c9382
commit b1dd2f3099
1 changed files with 3 additions and 2 deletions

View File

@ -136,9 +136,10 @@ BOOL LLResizeHandle::handleHover(S32 x, S32 y, MASK mask)
if( resizing_view )
{
// undock floater when user resize it
if (((LLFloater*)getParent())->isDocked())
LLFloater* floater_parent = dynamic_cast<LLFloater*>(getParent());
if (floater_parent && floater_parent->isDocked())
{
((LLFloater*)getParent())->setDocked(false, false);
floater_parent->setDocked(false, false);
}
// Resize the parent