Minor adjustment to scrolling.

This commit is contained in:
Jonathan Moore Liles 2008-04-30 01:17:07 -05:00
parent e7ab9a3727
commit 323a913cf1
1 changed files with 3 additions and 4 deletions

View File

@ -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() );