SL-6109 Fixed issue with llcontrols ignoring left mouse button with masks

meow-7.2.2
andreykproductengine 2019-11-28 17:09:34 +02:00 committed by Andrey Kleshchev
parent 9c04b0519e
commit 7e0254ecd5
1 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@ bool LLKeyData::canHandle(const LLKeyData& data) const
{
if (data.mKey == mKey
&& data.mMouse == mMouse
&& ((mIgnoreMasks && (data.mMask & mMask) == data.mMask) || data.mMask == mMask))
&& ((mIgnoreMasks && (data.mMask & mMask) == mMask) || data.mMask == mMask))
{
return true;
}
@ -155,7 +155,7 @@ bool LLKeyData::canHandle(EMouseClickType mouse, KEY key, MASK mask) const
{
if (mouse == mMouse
&& key == mKey
&& ((mIgnoreMasks && (mask & mMask) == mask) || mask == mMask))
&& ((mIgnoreMasks && (mask & mMask) == mMask) || mask == mMask))
{
return true;
}