Don't let timeline scrollbar eat Home and End.

This commit is contained in:
Jonathan Moore Liles 2008-05-26 22:57:54 -05:00
parent 622a4a68dc
commit 9dedd7b837
1 changed files with 4 additions and 1 deletions

View File

@ -954,7 +954,10 @@ Timeline::track_under ( int Y )
int int
Timeline::handle_scroll ( int m ) Timeline::handle_scroll ( int m )
{ {
return hscroll->handle( m ) || vscroll->handle( m ); if ( m == FL_KEYBOARD && Fl::event_key() != FL_Home && Fl::event_key() != FL_End )
return hscroll->handle( m ) || vscroll->handle( m );
else
return 0;
} }
int int