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:
parent
f703385d07
commit
9e84245c58
@ -236,9 +236,8 @@ AudioStreamView::setup_rec_box ()
|
|||||||
|
|
||||||
boost::shared_ptr<AudioTrack> at = _trackview.audio_track();
|
boost::shared_ptr<AudioTrack> at = _trackview.audio_track();
|
||||||
samplepos_t const sample_pos = at->current_capture_start ();
|
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 &&
|
} else if (rec_active &&
|
||||||
(_trackview.session()->record_status() != Session::Recording ||
|
(_trackview.session()->record_status() != Session::Recording ||
|
||||||
|
Loading…
Reference in New Issue
Block a user