Timeline: Fix bug in track right click handling.
This commit is contained in:
parent
569ba81f42
commit
8a6772b6b9
|
@ -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() ) */
|
||||||
|
|
Loading…
Reference in New Issue