FIxed TOOL_EVENT::Modifier() (now it returns value for current modifier, not only if there is one active or not).
This commit is contained in:
parent
7db595da31
commit
171857a7a8
|
@ -231,7 +231,7 @@ public:
|
|||
return m_actions == TA_CancelTool;
|
||||
}
|
||||
|
||||
bool Modifier( int aMask = MD_ModifierMask ) const
|
||||
int Modifier( int aMask = MD_ModifierMask ) const
|
||||
{
|
||||
return ( m_modifiers & aMask );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue