From 9e84245c58ef4189d2c14afe8d1f885176e3e419 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 22 Mar 2020 16:43:13 -0600 Subject: fix small error in GUI dimensions stemming from removal of tape tracks THe original determinant of width was: double const width = ((at->mode() == Destructive) ? 2 : 0); the conditional is always false now, so the width is a constant (zero) --- gtk2_ardour/audio_streamview.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gtk2_ardour/audio_streamview.cc b/gtk2_ardour/audio_streamview.cc index a4a9347001..58b55f94f2 100644 --- a/gtk2_ardour/audio_streamview.cc +++ b/gtk2_ardour/audio_streamview.cc @@ -236,9 +236,8 @@ AudioStreamView::setup_rec_box () boost::shared_ptr at = _trackview.audio_track(); samplepos_t const sample_pos = at->current_capture_start (); - double const width = 2; - create_rec_box(sample_pos, width); + create_rec_box(sample_pos, 0); } else if (rec_active && (_trackview.session()->record_status() != Session::Recording || -- cgit v1.2.3