summaryrefslogtreecommitdiff
path: root/indra/llui/lllayoutstack.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2011-09-28 16:28:32 -0700
committerMerov Linden <merov@lindenlab.com>2011-09-28 16:28:32 -0700
commit2a459e1060255d0334ab5ed73c0deaa93015cafc (patch)
tree1ac8533388a1d90d33c98b7697dd52fa64fc2bc9 /indra/llui/lllayoutstack.cpp
parent21543fdf26e8104d00bd683bdff5185d6dd620ef (diff)
parentdb75dd5085ce7a8d579c8f82e0c5b62b875bca20 (diff)
EXP-1202 : pull from richard/viewer-experience-fui
Diffstat (limited to 'indra/llui/lllayoutstack.cpp')
-rw-r--r--indra/llui/lllayoutstack.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/lllayoutstack.cpp b/indra/llui/lllayoutstack.cpp
index 89b3f671a4..4991c4afa6 100644
--- a/indra/llui/lllayoutstack.cpp
+++ b/indra/llui/lllayoutstack.cpp
@@ -498,13 +498,13 @@ void LLLayoutStack::updateLayout(BOOL force_resize)
{
(*panel_it)->mResizeBar->setResizeLimits(
relevant_min,
- relevant_min + shrink_headroom_total);
+ relevant_min + llround(shrink_headroom_total));
}
else //VERTICAL
{
(*panel_it)->mResizeBar->setResizeLimits(
relevant_min,
- relevant_min + shrink_headroom_total);
+ relevant_min + llround(shrink_headroom_total));
}
// toggle resize bars based on panel visibility, resizability, etc