From 11add2dd63191a805cacaefbd783b258965ada0b Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Sun, 18 May 2008 22:06:14 -0500 Subject: [PATCH] Oops. Don't allow an unselected sequence widget to drag past 0 either. --- Timeline/Sequence_Widget.C | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Timeline/Sequence_Widget.C b/Timeline/Sequence_Widget.C index 128729c..35099b9 100644 --- a/Timeline/Sequence_Widget.C +++ b/Timeline/Sequence_Widget.C @@ -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 );