Browse Source

Minor adjustment to scrolling.

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
323a913cf1
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      Timeline/Timeline.C

+ 3
- 4
Timeline/Timeline.C View File

@@ -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_yposition = _yposition;

} }


_old_xposition = xoffset;
_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…
Cancel
Save