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:
Maciej Suminski 2013-09-23 10:02:01 +02:00
parent 7db595da31
commit 171857a7a8
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ public:
return m_actions == TA_CancelTool; return m_actions == TA_CancelTool;
} }
bool Modifier( int aMask = MD_ModifierMask ) const int Modifier( int aMask = MD_ModifierMask ) const
{ {
return ( m_modifiers & aMask ); return ( m_modifiers & aMask );
} }