13
0

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)
This commit is contained in:
Paul Davis 2020-03-22 16:43:13 -06:00
parent f703385d07
commit 9e84245c58

View File

@ -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 ||