X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fautomation_line.cc;h=29163c6aaaa802eaa38e548a4a53d4003e94c49f;hb=7e6014a07759c93dc3c4f65456eb1fd2b4a7dc3a;hp=844063a22726ac7b6a3d04b75c1a6885482b063c;hpb=37a34bb8b0568ad28fa6c3697a2eab296b0af7ae;p=ardour.git 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;