13
0

skip drawing the first pixel of waves in an audio region view.

This means that they do no overwrite the frame border of the time axis item
This commit is contained in:
Paul Davis 2015-02-09 17:56:06 -05:00
parent 34779ee81e
commit 266ac60941

View File

@ -1140,7 +1140,8 @@ AudioRegionView::create_one_wave (uint32_t which, bool /*direct*/)
wave->set_samples_per_pixel (samples_per_pixel);
wave->set_show_zero_line (true);
wave->set_clip_level (ARDOUR_UI::config()->get_waveform_clip_level ());
wave->set_start_shift (1.0);
wave->Event.connect (sigc::bind (sigc::mem_fun (PublicEditor::instance(), &PublicEditor::canvas_wave_view_event), wave, this));
switch (ARDOUR_UI::config()->get_waveform_shape()) {