Fixed reversed bar/beat colours

git-svn-id: svn://localhost/ardour2/trunk@1129 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2006-11-14 06:10:46 +00:00
parent 78e6e3f5ff
commit d36c15fd45
2 changed files with 4 additions and 4 deletions

View file

@ -65,8 +65,8 @@ cEnteredAutomationLine 0.87 0.39 0.39 1.00
cEnteredMarker 0.87 0.39 0.39 1.00
cMeterMarker 0.95 0.26 0.36 1.00
cTempoMarker 0.95 0.26 0.36 1.00
cMeasureLineBeat 0.55 0.55 0.55 1.00
cMeasureLineBar 0.45 0.45 0.45 1.00
cMeasureLineBeat 0.40 0.40 0.40 0.50
cMeasureLineBar 0.55 0.55 0.60 0.70
cGhostTrackBaseOutline 0.00 0.00 0.00 1.00
cGhostTrackBaseFill 0.27 0.00 0.49 0.50
cImageTrackBase 0.87 0.87 0.85 1.00

View file

@ -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.