summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorrichard <none@none>2010-02-18 12:49:31 -0800
committerrichard <none@none>2010-02-18 12:49:31 -0800
commit876a764c4f8c71ad8858d07a04e05943583020e1 (patch)
tree5133ab776a09b9d7aac7d102aec11b05af6595f7 /indra
parent417526817286eb9b5f1690f1a2f83176b2896e6a (diff)
EXT-5535 - Resize handles will move floater when reaching minimum size
Diffstat (limited to 'indra')
-rw-r--r--indra/llui/llfloater.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp
index 342c0684da..53296fc7a1 100644
--- a/indra/llui/llfloater.cpp
+++ b/indra/llui/llfloater.cpp
@@ -2373,7 +2373,11 @@ void LLFloaterView::adjustToFitScreen(LLFloater* floater, BOOL allow_partial_out
new_width = llmax(new_width, min_width);
new_height = llmax(new_height, min_height);
- floater->reshape( new_width, new_height, TRUE );
+ LLRect new_rect;
+ new_rect.setLeftTopAndSize(view_rect.mLeft,view_rect.mTop,new_width, new_height);
+
+ floater->setShape(new_rect);
+
if (floater->followsRight())
{
floater->translate(old_width - new_width, 0);