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