summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_streamview.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-09-19 15:50:22 +0000
committerCarl Hetherington <carl@carlh.net>2010-09-19 15:50:22 +0000
commitaa00dbc40e00aa43caae6bfc188a27be2f23c636 (patch)
treed0e18b1894915da39b095ac1d2f1997ece94a8a2 /gtk2_ardour/midi_streamview.cc
parentdadee4622d15218e0190b72797897fbb7b247711 (diff)
Fix MIDI streamview grid. Fixes #3460.
git-svn-id: svn://localhost/ardour2/branches/3.0@7806 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_streamview.cc')
-rw-r--r--gtk2_ardour/midi_streamview.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/midi_streamview.cc b/gtk2_ardour/midi_streamview.cc
index fad87ee642..0b47e1bb20 100644
--- a/gtk2_ardour/midi_streamview.cc
+++ b/gtk2_ardour/midi_streamview.cc
@@ -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(