diff options
Diffstat (limited to 'gtk2_ardour/time_axis_view.cc')
-rw-r--r-- | gtk2_ardour/time_axis_view.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk2_ardour/time_axis_view.cc b/gtk2_ardour/time_axis_view.cc index f31ee1a10c..1f6d1f9da6 100644 --- a/gtk2_ardour/time_axis_view.cc +++ b/gtk2_ardour/time_axis_view.cc @@ -1181,10 +1181,14 @@ TimeAxisView::color_handler () TimeAxisView* TimeAxisView::covers_y_position (double y) { + if (y_position < 0) { + abort (); + } + if (hidden()) { return 0; } - + cerr << name() << " check for " << y << " within " << y_position << " and + " << height << endl; if (y_position <= y && y < (y_position + height)) { |