Skip to content

Commit

Permalink
Fixed issue #483
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanemagnenat committed Feb 22, 2016
1 parent f424156 commit 20d9ba0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions clients/studio/plugins/ThymioVPL/ThymioVisualProgramming.cpp
Expand Up @@ -1005,6 +1005,10 @@ namespace Aseba { namespace ThymioVPL

void ThymioVisualProgramming::userEvent(unsigned id, const VariablesDataVector& data)
{
// if hidden, do not react
if (isHidden())
return;

// here we can add react to incoming events
if (id == 2)
USAGE_LOG(logTabletData(data));
Expand Down

0 comments on commit 20d9ba0

Please sign in to comment.