summaryrefslogtreecommitdiff
path: root/gtk2_ardour/tempo_lines.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-01-08 21:10:13 -0500
committerDavid Robillard <d@drobilla.net>2015-01-08 21:10:13 -0500
commit12bf085a34d4da9ed5c77df2a006282da2e84a39 (patch)
tree7e8e6754a0b3831b8d65643140187848c2eeb52b /gtk2_ardour/tempo_lines.cc
parent9f8a97112d2d092854b452fe061191227f3e9201 (diff)
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.
Diffstat (limited to 'gtk2_ardour/tempo_lines.cc')
-rw-r--r--gtk2_ardour/tempo_lines.cc2
1 files changed, 1 insertions, 1 deletions
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;