diff options
author | Richard Linden <none@none> | 2012-02-10 16:35:22 -0800 |
---|---|---|
committer | Richard Linden <none@none> | 2012-02-10 16:35:22 -0800 |
commit | 6a6cf3aa78b328c5a4cb78ad1b4f9f2fb831c8e4 (patch) | |
tree | 5938c33eafa69e03d02a1ec0218261f136294c69 /indra/llui/llview.cpp | |
parent | 45e30f35dc1a3dc07862ca9f67bbbdb238d364fe (diff) |
EXP-1884 FIX Errors in navigating text when editing Landmarks and picks once a vertical scrollbar is shown
Diffstat (limited to 'indra/llui/llview.cpp')
-rw-r--r-- | indra/llui/llview.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/llui/llview.cpp b/indra/llui/llview.cpp index d22e14745f..421166dcd4 100644 --- a/indra/llui/llview.cpp +++ b/indra/llui/llview.cpp @@ -1300,7 +1300,10 @@ void LLView::reshape(S32 width, S32 height, BOOL called_from_parent) S32 delta_x = child_rect.mLeft - viewp->getRect().mLeft; S32 delta_y = child_rect.mBottom - viewp->getRect().mBottom; viewp->translate( delta_x, delta_y ); - viewp->reshape(child_rect.getWidth(), child_rect.getHeight()); + if (child_rect.getWidth() != viewp->getRect().getWidth() || child_rect.getHeight() != viewp->getRect().getHeight()) + { + viewp->reshape(child_rect.getWidth(), child_rect.getHeight()); + } } } |