summaryrefslogtreecommitdiff
path: root/indra/llui/llview.cpp
diff options
context:
space:
mode:
authorskolb <none@none>2009-12-04 11:57:11 -0800
committerskolb <none@none>2009-12-04 11:57:11 -0800
commitbef221e3aa42b92586e5783811742afdbf05cd92 (patch)
tree4262266a4b752a7599170b9a75a60f8d4956cd0b /indra/llui/llview.cpp
parent2d2f98c51bd87c2b8e2861d2261a0e6d9300dc0b (diff)
parentfa8b2135f5eaf92b24abe79f908a62e7e2c0a076 (diff)
Merge
Diffstat (limited to 'indra/llui/llview.cpp')
-rw-r--r--indra/llui/llview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llui/llview.cpp b/indra/llui/llview.cpp
index 23e4131e6d..6f8455774d 100644
--- a/indra/llui/llview.cpp
+++ b/indra/llui/llview.cpp
@@ -2533,6 +2533,7 @@ void LLView::setupParams(LLView::Params& p, LLView* parent)
else
{
p.rect.left = p.rect.left + parent_rect.getWidth()/2 - p.rect.width/2;
+ p.rect.right.setProvided(false); // recalculate the right
}
}
else
@@ -2553,6 +2554,7 @@ void LLView::setupParams(LLView::Params& p, LLView* parent)
else
{
p.rect.bottom = p.rect.bottom + parent_rect.getHeight()/2 - p.rect.height/2;
+ p.rect.top.setProvided(false); // recalculate the top
}
}
else