From 12bf085a34d4da9ed5c77df2a006282da2e84a39 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 8 Jan 2015 21:10:13 -0500 Subject: Stop showing bar lines sooner. Not sure if this is a DPI dependent thing, but when zooming out some of the steps had way too dense bar lines for me. --- gtk2_ardour/tempo_lines.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/tempo_lines.cc b/gtk2_ardour/tempo_lines.cc index 4f6bd1d9ed..9d935b7f92 100644 --- a/gtk2_ardour/tempo_lines.cc +++ b/gtk2_ardour/tempo_lines.cc @@ -104,7 +104,7 @@ TempoLines::draw (const ARDOUR::TempoMap::BBTPointList::const_iterator& begin, beat_density = (beats * 10.0f) / lines.canvas()->width(); - if (beat_density > 4.0f) { + if (beat_density > 2.0f) { /* if the lines are too close together, they become useless */ lines.clear (); return; -- cgit v1.2.3