Browse Source

Reduce the number of peaks read when drawing region.

tags/non-daw-v1.1.0
Jonathan Moore Liles 18 years ago
parent
commit
318c27088b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Region.C

+ 1
- 1
Region.C View File

@@ -331,7 +331,7 @@ Region::draw ( int X, int Y, int W, int H )

// fl_push_clip( x() + Fl::box_dx( box() ), y(), w() - Fl::box_dw( box() ), h() );

draw_waveform( rx, Y, rw, H, _clip, _start + offset, _end - offset, _scale, _color );
draw_waveform( rx, Y, rw, H, _clip, _start + offset, min( (_end - _start) - offset, _end), _scale, _color );

fl_color( FL_BLACK );
fl_line( rx, Y, rx, Y + H );


Loading…
Cancel
Save