Don't redraw capture regions so often.
This commit is contained in:
parent
6b97c912eb
commit
7f1055e845
|
@ -955,6 +955,8 @@ Region::write ( sample_t *buf, nframes_t nframes )
|
|||
|
||||
/* FIXME: too much? */
|
||||
// _track->damage( FL_DAMAGE_EXPOSE, x() + w(), y(), 10/* FIXME: guess */, h() );
|
||||
|
||||
if ( 0 == ( timeline->ts_to_x( _range.end ) % 20 ) )
|
||||
redraw();
|
||||
|
||||
return l;
|
||||
|
|
Loading…
Reference in New Issue