Oops. Don't allow an unselected sequence widget to drag past 0 either.
This commit is contained in:
parent
47dbf6c537
commit
11add2dd63
|
@ -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 );
|
||||||
|
else
|
||||||
start( of - _drag->start );
|
start( 0 );
|
||||||
|
|
||||||
if ( Sequence_Widget::_current == this )
|
if ( Sequence_Widget::_current == this )
|
||||||
sequence()->snap( this );
|
sequence()->snap( this );
|
||||||
|
|
Loading…
Reference in New Issue