SL-15727 Mouse 'up' event was ignored
parent
8ee63b463f
commit
573c23488f
|
|
@ -1065,11 +1065,15 @@ bool LLViewerInput::handleGlobalBindsKeyUp(KEY key, MASK mask)
|
|||
bool LLViewerInput::handleGlobalBindsMouse(EMouseClickType clicktype, MASK mask, bool down)
|
||||
{
|
||||
bool res = false;
|
||||
S32 mode = getMode();
|
||||
if (down)
|
||||
{
|
||||
S32 mode = getMode();
|
||||
res = scanMouse(mGlobalMouseBindings[mode], mGlobalMouseBindings[mode].size(), clicktype, mask, MOUSE_STATE_DOWN, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
res = scanMouse(mGlobalMouseBindings[mode], mGlobalMouseBindings[mode].size(), clicktype, mask, MOUSE_STATE_UP, true);
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue