fix for major EXT-4414 Floaters can be expanded over bottom bar

left<->top...:)

--HG--
branch : product-engine
Ychebotarev ProductEngine 2010-01-20 19:06:05 +02:00
parent 361a54849f
commit e761c0ece7
1 changed files with 3 additions and 1 deletions

View File

@ -2388,10 +2388,12 @@ void LLFloaterView::adjustToFitScreen(LLFloater* floater, BOOL allow_partial_out
new_height = llmax(new_height, min_height);
LLRect new_rect;
new_rect.setLeftTopAndSize(view_rect.mTop,view_rect.mLeft,new_width, new_height);
new_rect.setLeftTopAndSize(view_rect.mLeft,view_rect.mTop,new_width, new_height);
floater->reshape( new_width, new_height, TRUE );
floater->setRect(new_rect);
floater->translateIntoRect( getLocalRect(), false );
}
}