diff options
author | nick_m <mainsbridge@gmail.com> | 2016-06-13 04:27:53 +1000 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2016-06-13 04:27:53 +1000 |
commit | b3b246b7243895fd08a01d184c182fa561f2900e (patch) | |
tree | 05569ebbd672f95359177fb5d6602bcdd53f4bbd /gtk2_ardour/editor_tempodisplay.cc | |
parent | 00caabf73583fa029601b7d4e9ccdb9b2da7925c (diff) |
Pick a colour for music-locked tempo markers.
Diffstat (limited to 'gtk2_ardour/editor_tempodisplay.cc')
-rw-r--r-- | gtk2_ardour/editor_tempodisplay.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_tempodisplay.cc b/gtk2_ardour/editor_tempodisplay.cc index 7af6fef059..c754942e22 100644 --- a/gtk2_ardour/editor_tempodisplay.cc +++ b/gtk2_ardour/editor_tempodisplay.cc @@ -105,8 +105,13 @@ Editor::draw_metric_marks (const Metrics& metrics) tempo_curves.push_back (new TempoCurve (*this, *tempo_group, UIConfiguration::instance().color ("color 62"), *(const_cast<TempoSection*>(ts)), ts->frame(), false)); - metric_marks.push_back (new TempoMarker (*this, *tempo_group, UIConfiguration::instance().color ("tempo marker"), buf, + if (ts->position_lock_style() == MusicTime) { + metric_marks.push_back (new TempoMarker (*this, *tempo_group, UIConfiguration::instance().color ("color 5"), buf, *(const_cast<TempoSection*>(ts)))); + } else { + metric_marks.push_back (new TempoMarker (*this, *tempo_group, UIConfiguration::instance().color ("tempo marker"), buf, + *(const_cast<TempoSection*>(ts)))); + } } |