Commit 171857a7 authored by Maciej Suminski's avatar Maciej Suminski

FIxed TOOL_EVENT::Modifier() (now it returns value for current modifier, not...

FIxed TOOL_EVENT::Modifier() (now it returns value for current modifier, not only if there is one active or not).
parent 7db595da
...@@ -231,7 +231,7 @@ public: ...@@ -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 );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment