Timeline: Fix bug in track right click handling.

This commit is contained in:
Jonathan Moore Liles 2012-12-15 18:45:25 -08:00
parent 569ba81f42
commit 8a6772b6b9
1 changed files with 5 additions and 0 deletions

View File

@ -442,6 +442,11 @@ Sequence::handle ( int m )
} }
default: default:
{ {
if ( m != FL_DRAG &&
m != FL_RELEASE &&
Fl::event_x() < drawable_x() )
return 0;
Sequence_Widget *r = Sequence_Widget::pushed() ? Sequence_Widget::pushed() : event_widget(); Sequence_Widget *r = Sequence_Widget::pushed() ? Sequence_Widget::pushed() : event_widget();
/* if ( this == Fl::focus() ) */ /* if ( this == Fl::focus() ) */