Don't eat all keys in region input handler.
This commit is contained in:
parent
0eb8babb3e
commit
4af2a85cc7
|
@ -262,21 +262,27 @@ Region::handle ( int m )
|
|||
_fade_in.length = offset;
|
||||
|
||||
printf( "setting fade in length to %lu\n", _fade_in.length );
|
||||
|
||||
redraw();
|
||||
|
||||
return 1;
|
||||
}
|
||||
else
|
||||
if ( Fl::event_key() == FL_F + 4 )
|
||||
{
|
||||
long offset = length() - x_to_offset( X );
|
||||
else if ( Fl::event_key() == FL_F + 4 )
|
||||
{
|
||||
long offset = length() - x_to_offset( X );
|
||||
|
||||
if ( offset > 0 )
|
||||
_fade_out.length = offset;
|
||||
if ( offset > 0 )
|
||||
_fade_out.length = offset;
|
||||
|
||||
printf( "setting fade out length to %lu\n", _fade_in.length );
|
||||
}
|
||||
printf( "setting fade out length to %lu\n", _fade_in.length );
|
||||
|
||||
redraw();
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
redraw();
|
||||
return 1;
|
||||
}
|
||||
case FL_PUSH:
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue