Mixer: Middle click toggles module activation state.

This commit is contained in:
Jonathan Moore Liles 2010-01-31 00:59:46 -06:00
parent b774ee3f50
commit fab0527527
1 changed files with 6 additions and 0 deletions

View File

@ -489,6 +489,12 @@ Module::handle ( int m )
command_remove(); command_remove();
return 1; return 1;
} }
else if ( test_press( FL_BUTTON2 ) )
{
bypass( !bypass() );
redraw();
return 1;
}
return 0; return 0;
} }