diff options
| author | Eugene Mutavchi <emutavchi@productengine.com> | 2010-01-19 21:44:04 +0200 |
|---|---|---|
| committer | Eugene Mutavchi <emutavchi@productengine.com> | 2010-01-19 21:44:04 +0200 |
| commit | fd3e2dc4749f2bdec27a834b0585937dc2394ad4 (patch) | |
| tree | b5116c5a00017cac4caf6c76933daa0744f654fc /indra/newview/llchathistory.cpp | |
| parent | e57ab1e22500fdf4184fe2b2c9733984496dea53 (diff) | |
Fixed low bug EXT-3890([BSI] someone has said text cutoff when opening and closing user list)
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llchathistory.cpp')
| -rw-r--r-- | indra/newview/llchathistory.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llchathistory.cpp b/indra/newview/llchathistory.cpp index 977f5c2bd0..a46cd84b60 100644 --- a/indra/newview/llchathistory.cpp +++ b/indra/newview/llchathistory.cpp @@ -609,3 +609,11 @@ void LLChatHistory::draw() LLUICtrl::draw(); } +void LLChatHistory::reshape(S32 width, S32 height, BOOL called_from_parent) +{ + bool is_scrolled_to_end = mEditor->scrolledToEnd(); + LLUICtrl::reshape( width, height, called_from_parent ); + // update scroll + if (is_scrolled_to_end) + mEditor->setCursorAndScrollToEnd(); +} |
