13
0

Fix region dragging.

git-svn-id: svn://localhost/ardour2/branches/3.0@3770 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2008-09-19 19:49:13 +00:00
parent b87ca000f8
commit 68216b315e

View File

@ -1181,15 +1181,9 @@ 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)) {
return this;