Fixed a focus issue that prevented face media floater from updating on face change if said floater had current focus.

This commit is contained in:
Shyotl
2013-06-15 20:08:05 -05:00
parent ad89c3e401
commit be94087bee
5 changed files with 27 additions and 1 deletions

View File

@@ -92,6 +92,15 @@ LLToolPie::LLToolPie()
{
}
BOOL LLToolPie::handleAnyMouseClick(S32 x, S32 y, MASK mask, EClickType clicktype, BOOL down)
{
BOOL result = LLMouseHandler::handleAnyMouseClick(x, y, mask, clicktype, down);
// This override DISABLES the keyboard focus reset that LLTool::handleAnyMouseClick adds.
// LLToolPie will do the right thing in its pick callback.
return result;
}
BOOL LLToolPie::handleMouseDown(S32 x, S32 y, MASK mask)
{