projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd1220a
)
Measure line tweaks
author
David Robillard
<d@drobilla.net>
Wed, 6 Sep 2006 16:26:04 +0000
(16:26 +0000)
committer
David Robillard
<d@drobilla.net>
Wed, 6 Sep 2006 16:26:04 +0000
(16:26 +0000)
git-svn-id: svn://localhost/ardour2/branches/midi@907
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/editor_tempodisplay.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor_tempodisplay.cc
b/gtk2_ardour/editor_tempodisplay.cc
index 55e406c4fce50f7817e178236520555bd56010db..db1ee5e34ea689219d80b0ad7af5a6d9019ff63a 100644
(file)
--- a/
gtk2_ardour/editor_tempodisplay.cc
+++ b/
gtk2_ardour/editor_tempodisplay.cc
@@
-190,10
+190,15
@@
Editor::draw_measures ()
last_beat = xpos;
}
}
+
+ if (beat_spacing < 3.0) {
+ /* if the lines are too close together, they become useless */
+ return;
+ }
double x1, x2, y1, y2;
track_canvas.get_scroll_region (x1, y1, x2, y2);
-
//
y2 = 1000000000.0f;
+ y2 = 1000000000.0f;
for (i = current_bbt_points->begin(); i != current_bbt_points->end(); ++i) {
@@
-215,7
+220,7
@@
Editor::draw_measures ()
are large.
*/
- if (beat_spacing <
15
.0) {
+ if (beat_spacing <
4
.0) {
break;
}
}