Skip to content
Snippets Groups Projects
Commit 6fff7022 authored by andreykproductengine's avatar andreykproductengine
Browse files

SL-9818 [EEP] Single click on Cloud Scroll number input field doesn't select it

parent d60588ec
No related branches found
No related tags found
No related merge requests found
...@@ -289,7 +289,14 @@ BOOL LLXYVector::handleMouseUp(S32 x, S32 y, MASK mask) ...@@ -289,7 +289,14 @@ BOOL LLXYVector::handleMouseUp(S32 x, S32 y, MASK mask)
make_ui_sound("UISndClickRelease"); make_ui_sound("UISndClickRelease");
} }
return TRUE; if (mTouchArea->getRect().pointInRect(x, y))
{
return TRUE;
}
else
{
return LLUICtrl::handleMouseUp(x, y, mask);
}
} }
BOOL LLXYVector::handleMouseDown(S32 x, S32 y, MASK mask) BOOL LLXYVector::handleMouseDown(S32 x, S32 y, MASK mask)
...@@ -299,8 +306,12 @@ BOOL LLXYVector::handleMouseDown(S32 x, S32 y, MASK mask) ...@@ -299,8 +306,12 @@ BOOL LLXYVector::handleMouseDown(S32 x, S32 y, MASK mask)
{ {
gFocusMgr.setMouseCapture(this); gFocusMgr.setMouseCapture(this);
make_ui_sound("UISndClick"); make_ui_sound("UISndClick");
}
return TRUE; return TRUE;
}
else
{
return LLUICtrl::handleMouseDown(x, y, mask);
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment