Fix name ui hover handling bypassing necessary base call. Woops.
This commit is contained in:
@@ -70,12 +70,13 @@ BOOL LLNameBox::handleRightMouseDown(S32 x, S32 y, MASK mask)
|
||||
// virtual
|
||||
BOOL LLNameBox::handleHover(S32 x, S32 y, MASK mask)
|
||||
{
|
||||
auto handled = LLTextBox::handleHover(x, y, mask);
|
||||
if (mAllowInteract)
|
||||
{
|
||||
getWindow()->setCursor(UI_CURSOR_HAND);
|
||||
return true;
|
||||
handled = true;
|
||||
}
|
||||
return LLTextBox::handleHover(x, y, mask);
|
||||
return handled;
|
||||
}
|
||||
|
||||
// virtual
|
||||
|
||||
@@ -94,12 +94,13 @@ BOOL LLNameEditor::handleRightMouseDown(S32 x, S32 y, MASK mask)
|
||||
// virtual
|
||||
BOOL LLNameEditor::handleHover(S32 x, S32 y, MASK mask)
|
||||
{
|
||||
if (mAllowInteract)
|
||||
auto handled = LLLineEditor::handleHover(x, y, mask);
|
||||
if (mAllowInteract && mClickForProfile && !mIsSelecting)
|
||||
{
|
||||
getWindow()->setCursor(UI_CURSOR_HAND);
|
||||
return true;
|
||||
handled = true;
|
||||
}
|
||||
return LLLineEditor::handleHover(x, y, mask);
|
||||
return handled;
|
||||
}
|
||||
|
||||
void LLNameEditor::displayAsLink(bool link)
|
||||
|
||||
Reference in New Issue
Block a user