aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/lllineeditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llui/lllineeditor.cpp')
-rw-r--r--linden/indra/llui/lllineeditor.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/linden/indra/llui/lllineeditor.cpp b/linden/indra/llui/lllineeditor.cpp
index a3785e4..76b8927 100644
--- a/linden/indra/llui/lllineeditor.cpp
+++ b/linden/indra/llui/lllineeditor.cpp
@@ -1034,6 +1034,11 @@ BOOL LLLineEditor::handleHover(S32 x, S32 y, MASK mask)
1034 1034
1035 return handled; 1035 return handled;
1036} 1036}
1037BOOL LLLineEditor::handleHScrollWheel(S32 x, S32 y, S32 clicks)
1038{
1039 mScrollHPos = llclamp(mScrollHPos + clicks * 3, 0, mText.length());
1040 return TRUE;
1041}
1037 1042
1038 1043
1039BOOL LLLineEditor::handleMouseUp(S32 x, S32 y, MASK mask) 1044BOOL LLLineEditor::handleMouseUp(S32 x, S32 y, MASK mask)