summaryrefslogtreecommitdiff
path: root/gtk2_ardour/time_axis_view.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-04-22 18:01:10 +0000
committerDavid Robillard <d@drobilla.net>2007-04-22 18:01:10 +0000
commit490e18d80a22dda07bdf88dd440f7100897822de (patch)
tree21fd0236156d108bd4b7acc119e8c66f3adad492 /gtk2_ardour/time_axis_view.cc
parenta9f5e379d27f74a1895a3b9d0fd8ef98c3b22e53 (diff)
Merged with trunk R1736.
git-svn-id: svn://localhost/ardour2/branches/midi@1737 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/time_axis_view.cc')
-rw-r--r--gtk2_ardour/time_axis_view.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/time_axis_view.cc b/gtk2_ardour/time_axis_view.cc
index d46c457fea..1351ef9105 100644
--- a/gtk2_ardour/time_axis_view.cc
+++ b/gtk2_ardour/time_axis_view.cc
@@ -221,6 +221,9 @@ TimeAxisView::show_at (double y, int& nth, VBox *parent)
order = nth;
_hidden = false;
+ /* height in pixels depends on _order, so update it now we've changed _order */
+ set_height (height_style);
+
effective_height = height;
/* now show children */