Minor adjustment to scrolling.
This commit is contained in:
parent
e7ab9a3727
commit
323a913cf1
|
@ -572,12 +572,11 @@ Timeline::draw ( void )
|
||||||
fl_scroll( X + Track::width(), Y, W - Track::width(), H, dx, dy, draw_clip, this );
|
fl_scroll( X + Track::width(), Y, W - Track::width(), H, dx, dy, draw_clip, this );
|
||||||
else
|
else
|
||||||
fl_scroll( X, Y, W, H, dx, dy, draw_clip, this );
|
fl_scroll( X, Y, W, H, dx, dy, draw_clip, this );
|
||||||
|
}
|
||||||
|
|
||||||
_old_xposition = xoffset;
|
_old_xposition = xoffset;
|
||||||
_old_yposition = _yposition;
|
_old_yposition = _yposition;
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( damage() & FL_DAMAGE_CHILD )
|
if ( damage() & FL_DAMAGE_CHILD )
|
||||||
{
|
{
|
||||||
fl_push_clip( rulers->x(), rulers->y(), rulers->w(), rulers->h() );
|
fl_push_clip( rulers->x(), rulers->y(), rulers->w(), rulers->h() );
|
||||||
|
|
Loading…
Reference in New Issue