From 266ac609419b7d659ac9ef01ae7f092298e9ab12 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 9 Feb 2015 17:56:06 -0500 Subject: [PATCH] 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 --- gtk2_ardour/audio_region_view.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/audio_region_view.cc b/gtk2_ardour/audio_region_view.cc index 72b06a2391..f0330077c1 100644 --- a/gtk2_ardour/audio_region_view.cc +++ b/gtk2_ardour/audio_region_view.cc @@ -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()) {