diff options
-rw-r--r-- | gtk2_ardour/midi_streamview.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/midi_streamview.cc b/gtk2_ardour/midi_streamview.cc index 9c109c2c21..b3caa8d827 100644 --- a/gtk2_ardour/midi_streamview.cc +++ b/gtk2_ardour/midi_streamview.cc @@ -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; } |