summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_tempodisplay.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-11-14 06:10:46 +0000
committerDavid Robillard <d@drobilla.net>2006-11-14 06:10:46 +0000
commitd36c15fd45566e7cbf03003049dd43cdf21138c0 (patch)
treeff8a3a9a0a90812c4a58f433214e28aa126d5de0 /gtk2_ardour/editor_tempodisplay.cc
parent78e6e3f5ffb9e505f27ec2279fb88ba0265530fa (diff)
Fixed reversed bar/beat colours
git-svn-id: svn://localhost/ardour2/trunk@1129 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_tempodisplay.cc')
-rw-r--r--gtk2_ardour/editor_tempodisplay.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_tempodisplay.cc b/gtk2_ardour/editor_tempodisplay.cc
index 3285d44e01..da856aa8a4 100644
--- a/gtk2_ardour/editor_tempodisplay.cc
+++ b/gtk2_ardour/editor_tempodisplay.cc
@@ -231,9 +231,9 @@ Editor::draw_measures ()
case TempoMap::Beat:
if ((*i).beat == 1) {
- color = color_map[cMeasureLineBeat];
- } else {
color = color_map[cMeasureLineBar];
+ } else {
+ color = color_map[cMeasureLineBeat];
if (beat_density > 2.0) {
/* only draw beat lines if the gaps between beats are large.