Don't let timeline scrollbar eat Home and End.
This commit is contained in:
parent
622a4a68dc
commit
9dedd7b837
|
@ -954,7 +954,10 @@ Timeline::track_under ( int Y )
|
|||
int
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue