summaryrefslogtreecommitdiff
path: root/gtk2_ardour/time_axis_view_item.h
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/time_axis_view_item.h
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/time_axis_view_item.h')
-rw-r--r--gtk2_ardour/time_axis_view_item.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/time_axis_view_item.h b/gtk2_ardour/time_axis_view_item.h
index 390b3ee2f5..7a34d7e590 100644
--- a/gtk2_ardour/time_axis_view_item.h
+++ b/gtk2_ardour/time_axis_view_item.h
@@ -88,7 +88,7 @@ class TimeAxisViewItem : public Selectable, public PBD::ScopedConnectionList
// Default sizes, font and spacing
static Pango::FontDescription* NAME_FONT;
- static bool have_name_font;
+ static void set_constant_heights ();
static const double NAME_X_OFFSET;
static const double GRAB_HANDLE_LENGTH;