13
0

reinstate zero line in waveforms (can be hidden by changing the color to something with alpha=0

This commit is contained in:
Paul Davis 2014-02-14 14:03:07 -05:00
parent 172a4a853d
commit d93050661c

View File

@ -1150,8 +1150,8 @@ AudioRegionView::create_one_wave (uint32_t which, bool /*direct*/)
wave->set_y_position (yoff); wave->set_y_position (yoff);
wave->set_height (ht); wave->set_height (ht);
wave->set_samples_per_pixel (samples_per_pixel); wave->set_samples_per_pixel (samples_per_pixel);
wave->set_show_zero_line (false); wave->set_show_zero_line (true);
switch (Config->get_waveform_shape()) { switch (Config->get_waveform_shape()) {
case Rectified: case Rectified:
wave->set_shape (WaveView::Rectified); wave->set_shape (WaveView::Rectified);