diff --git a/Track_Widget.H b/Track_Widget.H index c952c96..2acb427 100644 --- a/Track_Widget.H +++ b/Track_Widget.H @@ -75,7 +75,7 @@ public: return min( rw, _track->w() ); } - int abs_x ( void ) const { return timeline->ts_to_x( timeline->xoffset ); } + int abs_x ( void ) const { return timeline->ts_to_x( _offset ); } virtual int abs_w ( void ) const { return timeline->ts_to_x( _end - _start ); } @@ -153,8 +153,6 @@ public: } } - - /* fl_font( FL_HELVETICA, 14 ); */ /* fl_color( FL_BLACK ); */ /* fl_draw( label, X + 2, Y + 2, w(), h(), align ); */