From 323a913cf1cd4f884a65c513f252ce0293cfaaea Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Wed, 30 Apr 2008 01:17:07 -0500 Subject: [PATCH] Minor adjustment to scrolling. --- Timeline/Timeline.C | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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() );