Merge branch 'master' into nodeview-redux

This commit is contained in:
itsmattkc
2021-07-10 09:09:05 -07:00
103 changed files with 16714 additions and 1 deletions
@@ -441,7 +441,8 @@ void TimelineView::DrawBlocks(QPainter *painter, bool foreground)
if (show_waveforms_) {
QRect waveform_rect = r.adjusted(0, text_total_height, 0, 0).toRect();
painter->setPen(shadow_color);
AudioVisualWaveform::DrawWaveform(painter, waveform_rect, this->GetScale(), track->waveform(), SceneToTime(block_left));
AudioVisualWaveform::DrawWaveform(painter, waveform_rect, this->GetScale(), track->waveform(),
SceneToTime(block_left, GetScale(), connected_track_list_->parent()->GetAudioParams().sample_rate_as_time_base()));
}
// For transitions, show lines representing a transition