Browse Source

Don't redraw capture regions so often.

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

+ 3
- 1
Timeline/Region.C View File

@@ -955,7 +955,9 @@ Region::write ( sample_t *buf, nframes_t nframes )

/* FIXME: too much? */
// _track->damage( FL_DAMAGE_EXPOSE, x() + w(), y(), 10/* FIXME: guess */, h() );
redraw();

if ( 0 == ( timeline->ts_to_x( _range.end ) % 20 ) )
redraw();

return l;
}


Loading…
Cancel
Save