Browse Source

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

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
11add2dd63
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      Timeline/Sequence_Widget.C

+ 4
- 4
Timeline/Sequence_Widget.C View File

@@ -301,10 +301,10 @@ Sequence_Widget::handle ( int m )
{
const nframes_t of = timeline->x_to_offset( X );

/* if ( of >= _drag->start ) */
/* { */
start( of - _drag->start );
if ( of >= _drag->start )
start( of - _drag->start );
else
start( 0 );

if ( Sequence_Widget::_current == this )
sequence()->snap( this );


Loading…
Cancel
Save