Oops. Don't allow an unselected sequence widget to drag past 0 either.

This commit is contained in:
Jonathan Moore Liles 2008-05-18 22:06:14 -05:00
parent 47dbf6c537
commit 11add2dd63
1 changed files with 4 additions and 4 deletions

View File

@ -301,10 +301,10 @@ Sequence_Widget::handle ( int m )
{ {
const nframes_t of = timeline->x_to_offset( X ); const nframes_t of = timeline->x_to_offset( X );
/* if ( of >= _drag->start ) */ if ( of >= _drag->start )
/* { */
start( of - _drag->start ); start( of - _drag->start );
else
start( 0 );
if ( Sequence_Widget::_current == this ) if ( Sequence_Widget::_current == this )
sequence()->snap( this ); sequence()->snap( this );