summaryrefslogtreecommitdiff
path: root/indra/llui/llfloater.cpp
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2010-01-20 15:59:05 -0500
committerLoren Shih <seraph@lindenlab.com>2010-01-20 15:59:05 -0500
commitfd5ee757a5c9bb014fd021139e8b701a6007c9d0 (patch)
treeb74be57b620d59a57abf7693eed56debd769b766 /indra/llui/llfloater.cpp
parent362f288bc6c08f5f345b0b676ca5e3e1fae53c07 (diff)
parent5ca943cd0279d35ffdf584fa0de3b795645f276c (diff)
viewer2.0->viewer2.0 merge
Diffstat (limited to 'indra/llui/llfloater.cpp')
-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 );
}
}