EXT-2954 Crash when using the mousewheel in any inventory panel
LLFolderView was explicitly passing scroll events back to its parent LLScrollContainer, which it didn't need to do. It may not have exhibited an infinite loop before due to bugs in the border width computations for scroll rectangles. Reviewed with Leyla.meow-7.2.2
parent
275b4f5849
commit
26a38ab852
|
|
@ -1803,15 +1803,6 @@ BOOL LLFolderView::handleDragAndDrop(S32 x, S32 y, MASK mask, BOOL drop,
|
|||
return handled;
|
||||
}
|
||||
|
||||
BOOL LLFolderView::handleScrollWheel(S32 x, S32 y, S32 clicks)
|
||||
{
|
||||
if (mScrollContainer)
|
||||
{
|
||||
return mScrollContainer->handleScrollWheel(x, y, clicks);
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
void LLFolderView::deleteAllChildren()
|
||||
{
|
||||
if(mRenamer == gFocusMgr.getTopCtrl())
|
||||
|
|
|
|||
|
|
@ -230,7 +230,6 @@ public:
|
|||
EAcceptance* accept,
|
||||
std::string& tooltip_msg);
|
||||
/*virtual*/ void reshape(S32 width, S32 height, BOOL called_from_parent = TRUE);
|
||||
virtual BOOL handleScrollWheel(S32 x, S32 y, S32 clicks);
|
||||
virtual void draw();
|
||||
virtual void deleteAllChildren();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue