diff options
author | David Robillard <d@drobilla.net> | 2015-01-08 14:41:09 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-01-08 14:53:41 -0500 |
commit | 2d3e6956e6842fb00801fccfe35e004be955392e (patch) | |
tree | a8743e2d08d8de6ae8c8eb4c11ef08ce6bf39650 /gtk2_ardour/tempo_lines.cc | |
parent | c1ccf8e28ec6d11508c0ae6c9d1265dbe71f15be (diff) |
Slightly more distinct beat/subdivision lines.
Diffstat (limited to 'gtk2_ardour/tempo_lines.cc')
-rw-r--r-- | gtk2_ardour/tempo_lines.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/tempo_lines.cc b/gtk2_ardour/tempo_lines.cc index 354814604c..4f6bd1d9ed 100644 --- a/gtk2_ardour/tempo_lines.cc +++ b/gtk2_ardour/tempo_lines.cc @@ -72,7 +72,7 @@ TempoLines::draw_ticks (const ARDOUR::TempoMap::BBTPointList::const_iterator& b, } /* draw line with alpha corresponding to coarsest level */ - const uint8_t a = max(0, (int)rint(UINT_RGBA_A(base) / log2(level))); + const uint8_t a = max(0, (int)rint(UINT_RGBA_A(base) / (0.75 * log2(level)))); const uint32_t c = UINT_RGBA_CHANGE_A(base, a); const framepos_t f = b->frame + (l * (fpb / (double)divisions)); if (f > leftmost_frame) { |