summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_streamview.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-06-03 15:57:31 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-06-03 15:57:31 +0000
commitce78296f96071f4617b52327b0face0b65553e88 (patch)
treef1acc12d595204086e25f6d7e1f183dae6e86ef9 /gtk2_ardour/midi_streamview.cc
parenteb37119975961abde36e069326873606e58dd022 (diff)
move computation of TimeAxisViewItem fixed heights into a static member function and call early in process life, because we need the values in MidiStreamview - fixes a bug with notes not aligning with note lines in a new session
git-svn-id: svn://localhost/ardour2/branches/3.0@7220 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 34111c3c60..4ab4c7154e 100644
--- a/gtk2_ardour/midi_streamview.cc
+++ b/gtk2_ardour/midi_streamview.cc
@@ -298,7 +298,7 @@ MidiStreamView::update_contents_height ()
{
StreamView::update_contents_height();
_note_lines->property_y2() = height;
-
+
draw_note_lines();
}