From ccde95757d6b6eaf2d605d8040db51a068a2a017 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 8 Jan 2015 21:10:54 -0500 Subject: [PATCH] More contrast between different division lines. --- gtk2_ardour/dark.colors | 4 ++-- gtk2_ardour/tempo_lines.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk2_ardour/dark.colors b/gtk2_ardour/dark.colors index 2bae2d9308..39d713c17f 100644 --- a/gtk2_ardour/dark.colors +++ b/gtk2_ardour/dark.colors @@ -229,7 +229,7 @@ - + @@ -489,7 +489,7 @@ - + diff --git a/gtk2_ardour/tempo_lines.cc b/gtk2_ardour/tempo_lines.cc index 9d935b7f92..deca09b963 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) / (0.75 * log2(level)))); + const uint8_t a = max(8, (int)rint(UINT_RGBA_A(base) / (0.8 * 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) {