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:
parent
9f8a97112d
commit
12bf085a34
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user