Browse Source

Timeline: Don't let sequence widgets swallow events meant for track header.

Closes #177
tags/non-daw-v1.2.0
Jonathan Moore Liles 8 years ago
parent
commit
c0113d1e7a
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      timeline/src/Sequence.C

+ 3
- 0
timeline/src/Sequence.C View File

@@ -179,6 +179,9 @@ Sequence::widget_at ( nframes_t ts, int Y )
Sequence_Widget *
Sequence::event_widget ( void )
{
if ( Fl::event_x() < drawable_x() )
return NULL;
nframes_t ets = timeline->xoffset + timeline->x_to_ts( Fl::event_x() - drawable_x() );
return widget_at( ets, Fl::event_y() );
}


Loading…
Cancel
Save