diff options
author | Carl Hetherington <carl@carlh.net> | 2010-05-11 00:09:41 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-05-11 00:09:41 +0000 |
commit | 7e6014a07759c93dc3c4f65456eb1fd2b4a7dc3a (patch) | |
tree | f9f5e7e83646e4676e2fc432a8aadeba5e9fe63a /gtk2_ardour/automation_line.cc | |
parent | 37a34bb8b0568ad28fa6c3697a2eab296b0af7ae (diff) |
Fix track height menu.
git-svn-id: svn://localhost/ardour2/branches/3.0@7093 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/automation_line.cc')
-rw-r--r-- | gtk2_ardour/automation_line.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/automation_line.cc b/gtk2_ardour/automation_line.cc index 844063a227..29163c6aaa 100644 --- a/gtk2_ardour/automation_line.cc +++ b/gtk2_ardour/automation_line.cc @@ -153,9 +153,9 @@ AutomationLine::control_point_box_size () 4.0); } - if (_height > TimeAxisView::hLarger) { + if (_height > TimeAxisView::preset_height (HeightLarger)) { return 8.0; - } else if (_height > (guint32) TimeAxisView::hNormal) { + } else if (_height > (guint32) TimeAxisView::preset_height (HeightNormal)) { return 6.0; } return 4.0; |