Fix MIDI streamview grid. Fixes #3460.

git-svn-id: svn://localhost/ardour2/branches/3.0@7806 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-09-19 15:50:22 +00:00
parent dadee4622d
commit aa00dbc40e
3 changed files with 30 additions and 16 deletions

View file

@ -75,7 +75,7 @@ MidiStreamView::MidiStreamView (MidiTimeAxisView& tv)
_note_lines->property_x1() = 0;
_note_lines->property_y1() = 0;
_note_lines->property_x2() = trackview().editor().frame_to_pixel (max_framepos);
_note_lines->property_x2() = DBL_MAX;
_note_lines->property_y2() = 0;
_note_lines->signal_event().connect(sigc::bind(