diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-03-22 16:43:13 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-03-22 16:43:13 -0600 |
commit | 9e84245c58ef4189d2c14afe8d1f885176e3e419 (patch) | |
tree | 196163fcbfc05eb652bfa9f6834af41079c148f0 /gtk2_ardour/audio_streamview.cc | |
parent | f703385d07e312fd9362087b55d1cf319b6d7df1 (diff) |
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)
Diffstat (limited to 'gtk2_ardour/audio_streamview.cc')
-rw-r--r-- | gtk2_ardour/audio_streamview.cc | 3 |
1 files changed, 1 insertions, 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<AudioTrack> 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 || |