diff --git a/Timeline/Timeline.C b/Timeline/Timeline.C index b402e2e..dca48d4 100644 --- a/Timeline/Timeline.C +++ b/Timeline/Timeline.C @@ -572,12 +572,11 @@ Timeline::draw ( void ) fl_scroll( X + Track::width(), Y, W - Track::width(), H, dx, dy, draw_clip, this ); else fl_scroll( X, Y, W, H, dx, dy, draw_clip, this ); - - _old_xposition = xoffset; - _old_yposition = _yposition; - } + _old_xposition = xoffset; + _old_yposition = _yposition; + if ( damage() & FL_DAMAGE_CHILD ) { fl_push_clip( rulers->x(), rulers->y(), rulers->w(), rulers->h() );