diff options
author | Palmer <palmer@lindenlab.com> | 2010-03-05 13:11:26 -0800 |
---|---|---|
committer | Palmer <palmer@lindenlab.com> | 2010-03-05 13:11:26 -0800 |
commit | b70951ca1e319e4d4a427a559072ee722588e1ed (patch) | |
tree | 59f8edc208a98a3f74586a0458417a1ce14c00ff /indra/newview/llinventorypanel.cpp | |
parent | dd663449b6f8b802892e11fab7cc2cbce36f734f (diff) | |
parent | 32aa06139e6fb5f2e84d3e657dfbe8961170a804 (diff) |
merge
Diffstat (limited to 'indra/newview/llinventorypanel.cpp')
-rw-r--r-- | indra/newview/llinventorypanel.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp index 048ed10886..8097985ade 100644 --- a/indra/newview/llinventorypanel.cpp +++ b/indra/newview/llinventorypanel.cpp @@ -681,6 +681,21 @@ BOOL LLInventoryPanel::handleDragAndDrop(S32 x, S32 y, MASK mask, BOOL drop, return handled; } +// virtual +void LLInventoryPanel::onMouseEnter(S32 x, S32 y, MASK mask) +{ + LLPanel::onMouseEnter(x, y, mask); + // don't auto-scroll a list when cursor is over Inventory. See EXT-3981. + mFolders->setEnableScroll(false); +} + +// virtual +void LLInventoryPanel::onMouseLeave(S32 x, S32 y, MASK mask) +{ + LLPanel::onMouseLeave(x, y, mask); + mFolders->setEnableScroll(true); +} + void LLInventoryPanel::onFocusLost() { // inventory no longer handles cut/copy/paste/delete |