diff options
author | James Cook <james@lindenlab.com> | 2009-12-07 15:15:52 -0800 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2009-12-07 15:15:52 -0800 |
commit | 81c18d54426ffe8a331350ac975770f36b5df201 (patch) | |
tree | f9f9001125deb40141c52cdf593131d32b01a5e0 /indra/newview/llfolderviewitem.cpp | |
parent | 13c998c34ac2c1f134b4c6998413753f94e1a002 (diff) |
EXT-3159 Mouse-wheel scrolling down causes unexpected side-scrolling
If vertical scroll bar is visible, give it the scroll events and
don't scroll horizontally. Eliminated extraneous folder view item
scroll handler. Reviewed with Richard.
Diffstat (limited to 'indra/newview/llfolderviewitem.cpp')
-rw-r--r-- | indra/newview/llfolderviewitem.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/indra/newview/llfolderviewitem.cpp b/indra/newview/llfolderviewitem.cpp index 63511301b3..fdc5c053fc 100644 --- a/indra/newview/llfolderviewitem.cpp +++ b/indra/newview/llfolderviewitem.cpp @@ -735,15 +735,6 @@ BOOL LLFolderViewItem::handleDoubleClick( S32 x, S32 y, MASK mask ) return TRUE; } -BOOL LLFolderViewItem::handleScrollWheel(S32 x, S32 y, S32 clicks) -{ - if (getParent()) - { - return getParent()->handleScrollWheel(x, y, clicks); - } - return FALSE; -} - BOOL LLFolderViewItem::handleMouseUp( S32 x, S32 y, MASK mask ) { if (LLView::childrenHandleMouseUp(x, y, mask)) |