diff --git a/Timeline/Sequence_Widget.C b/Timeline/Sequence_Widget.C index b520b1c..9e9c33c 100644 --- a/Timeline/Sequence_Widget.C +++ b/Timeline/Sequence_Widget.C @@ -224,7 +224,7 @@ Sequence_Widget::handle ( int m ) case FL_RELEASE: if ( _drag ) { - length_drag(); + end_drag(); _log.release(); } diff --git a/Timeline/Sequence_Widget.H b/Timeline/Sequence_Widget.H index 15a841f..c0bc0dd 100644 --- a/Timeline/Sequence_Widget.H +++ b/Timeline/Sequence_Widget.H @@ -253,7 +253,7 @@ public: _r = new Range( _range ); } - void length_drag ( void ) + void end_drag ( void ) { _range = *_r; delete _r; @@ -263,33 +263,6 @@ public: _drag = NULL; } -/* void */ -/* start ( nframes_t where ) */ -/* { */ - -/* if ( ! selected() ) */ -/* { */ -/* redraw(); */ -/* _r->start = where; */ -/* } */ -/* else */ -/* { */ -/* long d = where - _r->start; */ - -/* for ( list ::iterator i = _selection.begin(); i != _selection.end(); i++ ) */ -/* { */ -/* (*i)->redraw(); */ - -/* if ( d < 0 ) */ -/* (*i)->_r->start -= 0 - d; */ -/* else */ -/* (*i)->_r->start += d; */ - -/* } */ -/* } */ -/* } */ - - int dispatch ( int m ); Fl_Widget * parent ( void ) const { return _sequence; }