summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYchebotarev ProductEngine <ychebotarev@productengine.com>2010-01-20 19:06:05 +0200
committerYchebotarev ProductEngine <ychebotarev@productengine.com>2010-01-20 19:06:05 +0200
commite761c0ece7e58a4d3c15f445b41670b90023a4cf (patch)
treec45d6d254d89de758ec5bf946a080a942c82ecbe
parent361a54849fe52da11d2a5fb968d2b40ae02035ed (diff)
fix for major EXT-4414 Floaters can be expanded over bottom bar
left<->top...:) --HG-- branch : product-engine
-rw-r--r--indra/llui/llfloater.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp
index 3734a22f7e..4f519afa06 100644
--- a/indra/llui/llfloater.cpp
+++ b/indra/llui/llfloater.cpp
@@ -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 );
}
}