13
0

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.
This commit is contained in:
David Robillard 2015-01-08 21:10:13 -05:00
parent 9f8a97112d
commit 12bf085a34

View File

@ -104,7 +104,7 @@ TempoLines::draw (const ARDOUR::TempoMap::BBTPointList::const_iterator& begin,
beat_density = (beats * 10.0f) / lines.canvas()->width(); 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 */ /* if the lines are too close together, they become useless */
lines.clear (); lines.clear ();
return; return;