From 2d3e6956e6842fb00801fccfe35e004be955392e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 8 Jan 2015 14:41:09 -0500 Subject: Slightly more distinct beat/subdivision lines. --- gtk2_ardour/tempo_lines.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk2_ardour/tempo_lines.cc') 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) { -- cgit v1.2.3