Don't draw MIDI note horizontal grid lines if they would be
less than 3 pixels apart (#4300). git-svn-id: svn://localhost/ardour2/branches/3.0@10080 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
8f5dd22c51
commit
69da82a021
@ -315,7 +315,8 @@ MidiStreamView::draw_note_lines()
|
||||
|
||||
_note_lines->clear();
|
||||
|
||||
if (child_height() < 140){
|
||||
if (child_height() < 140 || note_height() < 3) {
|
||||
/* track is too small for note lines, or there are too many */
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user