Don't redraw capture regions so often.

This commit is contained in:
Jonathan Moore Liles 2008-04-25 03:14:13 -05:00
parent 6b97c912eb
commit 7f1055e845
1 changed files with 3 additions and 1 deletions

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;
}