Mixer: Middle click toggles module activation state.

pull/3/head
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();
return 1;
}
else if ( test_press( FL_BUTTON2 ) )
{
bypass( !bypass() );
redraw();
return 1;
}
return 0;
}