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/crossfade_view.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/crossfade_view.cc')
-rw-r--r-- | gtk2_ardour/crossfade_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/crossfade_view.cc b/gtk2_ardour/crossfade_view.cc index 2854de9a78..823934ef4e 100644 --- a/gtk2_ardour/crossfade_view.cc +++ b/gtk2_ardour/crossfade_view.cc @@ -108,7 +108,7 @@ CrossfadeView::reset_width_dependent_items (double pixel_width) void CrossfadeView::set_height (double h) { - if (h <= TimeAxisView::hSmall) { + if (h <= TimeAxisView::preset_height (HeightSmall)) { h -= 3.0; } else { h -= NAME_HIGHLIGHT_SIZE + 3.0; |